diff --git a/src/core/soci-platform.h b/src/core/soci-platform.h
index aa5e4b1..2d8c5c7 100644
--- a/src/core/soci-platform.h
+++ b/src/core/soci-platform.h
@@ -24,7 +24,9 @@
 #endif
 
 // Define if you have the snprintf variants.
+#if _MSC_VER < 1900
 #define snprintf _snprintf
+#endif
 
 // Define if you have the strtoll and strtoull variants.
 #if _MSC_VER < 1300
