Ver código fonte

Merge branch 'master' of ssh://github.com/valenok/mongoose

Sergey Lyubka 12 anos atrás
pai
commit
596fb1e88a
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      mongoose.h

+ 2 - 2
mongoose.h

@@ -234,9 +234,9 @@ enum {
 
 
 // Macros for enabling compiler-specific checks for printf-like arguments.
 // Macros for enabling compiler-specific checks for printf-like arguments.
 #undef PRINTF_FORMAT_STRING
 #undef PRINTF_FORMAT_STRING
-#if _MSC_VER >= 1400
+#if defined(_MSC_VER) && _MSC_VER >= 1400
 #include <sal.h>
 #include <sal.h>
-#if _MSC_VER > 1400
+#if defined(_MSC_VER) && _MSC_VER > 1400
 #define PRINTF_FORMAT_STRING(s) _Printf_format_string_ s
 #define PRINTF_FORMAT_STRING(s) _Printf_format_string_ s
 #else
 #else
 #define PRINTF_FORMAT_STRING(s) __format_string s
 #define PRINTF_FORMAT_STRING(s) __format_string s