title: VS 2015 compiling cocos2d-x 3.3 error "fatal error C1189: #error: Macro definition of snprintf conflicts with Standard Library function declaration"
body: <p>When I compile cocos2d-x (version 3.3) using visual studio 2015, an error occured, saying:</p>
  
  <blockquote>
    <p>fatal error C1189: #error:  Macro definition of snprintf conflicts with Standard Library function declaration (编译源文件 ..\base\s3tc.cpp)</p>
  </blockquote>
  
  <p>The source code is: </p>
  
  <pre><code>#ifdef snprintf
      #error Macro definition of snprintf conflicts with Standard Library 
               function declaration
  #endif
  </code></pre>
  
  <p>Anybody can tell me what's wrong?</p>