summaryrefslogtreecommitdiffstats
path: root/examples/blockStreaming_doubleBuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/blockStreaming_doubleBuffer.c')
-rw-r--r--examples/blockStreaming_doubleBuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/blockStreaming_doubleBuffer.c b/examples/blockStreaming_doubleBuffer.c
index d02f258..acb3455 100644
--- a/examples/blockStreaming_doubleBuffer.c
+++ b/examples/blockStreaming_doubleBuffer.c
@@ -2,7 +2,7 @@
// Copyright : Takayuki Matsuoka
-#ifdef _MSC_VER /* Visual Studio */
+#if defined(_MSC_VER) && (_MSC_VER <= 1800) /* Visual Studio <= 2013 */
# define _CRT_SECURE_NO_WARNINGS
# define snprintf sprintf_s
#endif