fixed Visual warning

This commit is contained in:
Yann Collet
2016-08-16 15:11:28 +02:00
parent 655393cc72
commit 94ca85d01b
+5 -2
View File
@@ -40,8 +40,11 @@
/* ************************************* /* *************************************
* Compiler Options * Compiler Options
***************************************/ ***************************************/
#define _POSIX_SOURCE 1 /* enable %llu on Windows */ #ifdef _MSC_VER /* Visual */
#define _CRT_SECURE_NO_WARNINGS /* removes Visual warning on strerror() */ # define _POSIX_SOURCE 1 /* enable %llu on Windows */
# define _CRT_SECURE_NO_WARNINGS /* removes Visual warning on strerror() */
# pragma warning(disable : 4204) /* non-constant aggregate initializer */
#endif
/*-************************************* /*-*************************************