title: How to build libssh on windows 64 bit and visual studio 2015 ultimate?
body: <p>After successfully using cmake-gui configure and generate commands to generate nmake makefile, this error appears after running nmake command from VS2015 x64 Native Tools Command Prompt:</p>
  
  <pre><code>libssh/priv.h(68): fatal error C1189: #error:  "no snprintf compatible function found"
  NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe' : return code '0x2'
  Stop.
  NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
  Stop.
  NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
  Stop.
  </code></pre>
  
  <p>Did Microsoft change anything regarding snprintf function ?</p>
  
  <p>How to mitigate this ?</p>