_CRT_SECURE_NO_WARNINGS moved to util.h

This commit is contained in:
Przemyslaw Skibinski
2016-12-21 13:47:11 +01:00
parent 2f6ccee6af
commit e679741b18
9 changed files with 3 additions and 18 deletions
-2
View File
@@ -13,7 +13,6 @@
* Compiler Warnings
****************************************/
#ifdef _MSC_VER
# define _CRT_SECURE_NO_WARNINGS /* fopen */
# pragma warning(disable : 4127) /* disable: C4127: conditional expression is constant */
#endif
@@ -21,7 +20,6 @@
/* *************************************
* Includes
***************************************/
#include "platform.h" /* Large Files support */
#include "util.h" /* UTIL_getFileSize, UTIL_sleep */
#include <stdlib.h> /* malloc, free */
#include <string.h> /* memset */