diff options
author | Yann Collet <cyan@fb.com> | 2017-11-25 01:18:46 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2017-11-25 01:18:46 (GMT) |
commit | 6c94c94d4673bd2c0bc3ff80ca17cff8c19a465a (patch) | |
tree | c9246948500265f1056b5abbe5cde6c5de056441 /examples/blockStreaming_ringBuffer.c | |
parent | da8bed4b01fc1221681a8d0bce768444200e91e3 (diff) | |
download | lz4-6c94c94d4673bd2c0bc3ff80ca17cff8c19a465a.zip lz4-6c94c94d4673bd2c0bc3ff80ca17cff8c19a465a.tar.gz lz4-6c94c94d4673bd2c0bc3ff80ca17cff8c19a465a.tar.bz2 |
minor updates to examples
see https://github.com/lz4/lz4/commit/810e2ca27b3561e0f6bfa7a88e0fde6faf807064#commitcomment-25810887
Diffstat (limited to 'examples/blockStreaming_ringBuffer.c')
-rw-r--r-- | examples/blockStreaming_ringBuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/blockStreaming_ringBuffer.c b/examples/blockStreaming_ringBuffer.c index dec78af..0b6a3ce 100644 --- a/examples/blockStreaming_ringBuffer.c +++ b/examples/blockStreaming_ringBuffer.c @@ -5,7 +5,7 @@ /************************************** * Compiler Options **************************************/ -#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 |