src/platform_windows.h
branchkeysync
changeset 1001 42e0841b71f0
parent 948 2c689b7707a9
parent 971 158b15e9d626
child 1226 a4e082c43cdd
     1.1 --- a/src/platform_windows.h	Wed Aug 10 14:12:19 2016 +0200
     1.2 +++ b/src/platform_windows.h	Wed Aug 10 16:17:11 2016 +0200
     1.3 @@ -26,8 +26,10 @@
     1.4  #define strdup(A) _strdup((A))
     1.5  #endif
     1.6  #ifndef snprintf
     1.7 +#if _MSC_VER<1900 // Includes undefined case. This is a check for VS 2015, which throws an error.
     1.8  #define snprintf(...) _snprintf(__VA_ARGS__)
     1.9  #endif
    1.10 +#endif
    1.11  #ifndef strtok_r
    1.12  #define strtok_r(A, B, C) strtok_s((A), (B), (C))
    1.13  #endif