summaryrefslogtreecommitdiffstats
path: root/programs
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 /programs
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 'programs')
-rw-r--r--programs/platform.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/programs/platform.h b/programs/platform.h
index 66491b6..db2efac 100644
--- a/programs/platform.h
+++ b/programs/platform.h
@@ -30,10 +30,10 @@ extern "C" {
* Compiler Options
****************************************/
#if defined(_MSC_VER)
-# define _CRT_SECURE_NO_WARNINGS /* Disable Visual Studio warning messages for fopen, strncpy, strerror */
-# define _CRT_SECURE_NO_DEPRECATE /* VS2005 - must be declared before <io.h> and <windows.h> */
-# if (_MSC_VER <= 1800) /* (1800 = Visual Studio 2013) */
-# define snprintf sprintf_s /* snprintf unsupported by Visual <= 2013 */
+# define _CRT_SECURE_NO_WARNINGS /* Disable Visual Studio warning messages for fopen, strncpy, strerror */
+# if (_MSC_VER <= 1800) /* (1800 = Visual Studio 2013) */
+# define _CRT_SECURE_NO_DEPRECATE /* VS2005 - must be declared before <io.h> and <windows.h> */
+# define snprintf sprintf_s /* snprintf unsupported by Visual <= 2013 */
# endif
#endif
@@ -60,7 +60,7 @@ extern "C" {
* Turn on Large Files support (>4GB) for 32-bit Linux/Unix
***********************************************************/
#if !defined(__64BIT__) || defined(__MINGW32__) /* No point defining Large file for 64 bit but MinGW-w64 requires it */
-# if !defined(_FILE_OFFSET_BITS)
+# if !defined(_FILE_OFFSET_BITS)
# define _FILE_OFFSET_BITS 64 /* turn off_t into a 64-bit type for ftello, fseeko */
# endif
# if !defined(_LARGEFILE_SOURCE) /* obsolete macro, replaced with _FILE_OFFSET_BITS */