summaryrefslogtreecommitdiff
path: root/examples/c/ex_file_system.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/c/ex_file_system.c')
-rw-r--r--examples/c/ex_file_system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/c/ex_file_system.c b/examples/c/ex_file_system.c
index c65019159fe..6522a386b9a 100644
--- a/examples/c/ex_file_system.c
+++ b/examples/c/ex_file_system.c
@@ -31,7 +31,7 @@
#include <errno.h>
#include <stdlib.h>
#include <string.h>
-#ifdef _WIN32
+#if (defined(_WIN32) && _MSC_VER < 1900)
/* snprintf is not supported on <= VS2013 */
#define snprintf _snprintf
#endif