fixed Visual warning
This commit is contained in:
+5
-2
@@ -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
|
||||||
|
|
||||||
|
|
||||||
/*-*************************************
|
/*-*************************************
|
||||||
|
|||||||
Reference in New Issue
Block a user