fixed Visual warning

This commit is contained in:
Yann Collet 2015-12-16 02:44:56 +01:00
parent ed699e692d
commit 6c8b925ab9

View File

@ -27,7 +27,10 @@
* Compiler Options
****************************************/
/* Disable some Visual warning messages */
#define _CRT_SECURE_NO_WARNINGS /* fopen */
#ifdef _MSC_VER
# define _CRT_SECURE_NO_WARNINGS /* fopen */
# pragma warning(disable : 4127) /* disable: C4127: conditional expression is constant */
#endif
/* Unix Large Files support (>4GB) */
#define _FILE_OFFSET_BITS 64