src/platform_windows.h
changeset 971 158b15e9d626
parent 918 45c80cc4c2ed
child 1001 42e0841b71f0
child 1126 129b561095a6
     1.1 --- a/src/platform_windows.h	Tue Aug 02 14:02:25 2016 +0200
     1.2 +++ b/src/platform_windows.h	Wed Aug 03 08:33:41 2016 -0700
     1.3 @@ -25,8 +25,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