removes Visual warning on strerror()

This commit is contained in:
Yann Collet 2016-07-03 00:17:39 +02:00
parent 5e734ad09b
commit b2b5309c6f
2 changed files with 8 additions and 1 deletions

View File

@ -23,6 +23,12 @@
- source repository : https://github.com/Cyan4973/zstd
*/
/* *************************************
* Compiler Options
***************************************/
#define _CRT_SECURE_NO_WARNINGS /* removes Visual warning on strerror() */
/*-************************************
* Includes
**************************************/

View File

@ -41,7 +41,8 @@
/* *************************************
* Compiler Options
***************************************/
#define _POSIX_SOURCE 1 /* enable %llu on Windows */
#define _POSIX_SOURCE 1 /* enable %llu on Windows */
#define _CRT_SECURE_NO_WARNINGS /* removes Visual warning on strerror() */
/*-*************************************