summaryrefslogtreecommitdiffstats
path: root/examples/blockStreaming_lineByLine.c
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2017-11-25 01:18:46 (GMT)
committerYann Collet <cyan@fb.com>2017-11-25 01:18:46 (GMT)
commit6c94c94d4673bd2c0bc3ff80ca17cff8c19a465a (patch)
treec9246948500265f1056b5abbe5cde6c5de056441 /examples/blockStreaming_lineByLine.c
parentda8bed4b01fc1221681a8d0bce768444200e91e3 (diff)
downloadlz4-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_lineByLine.c')
-rw-r--r--examples/blockStreaming_lineByLine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/blockStreaming_lineByLine.c b/examples/blockStreaming_lineByLine.c
index f449aa3..677c426 100644
--- a/examples/blockStreaming_lineByLine.c
+++ b/examples/blockStreaming_lineByLine.c
@@ -1,8 +1,8 @@
// LZ4 streaming API example : line-by-line logfile compression
-// Copyright : Takayuki Matsuoka
+// by 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