1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-30 22:23:13 +03:00

fixed compilation with Visual in C++ mode

This commit is contained in:
inikep
2016-08-10 14:28:47 +02:00
parent 48849f86f0
commit 3d2c58c3a9
2 changed files with 7 additions and 4 deletions

View File

@ -26,8 +26,10 @@
/* *************************************
* Compiler Options
***************************************/
#define _CRT_SECURE_NO_WARNINGS /* removes Visual warning on strerror() */
#if defined(_MSC_VER)
# define _CRT_SECURE_NO_WARNINGS /* removes Visual warning on strerror() */
# define _CRT_SECURE_NO_DEPRECATE /* removes VS2005 warning on strerror() */
#endif
/*-************************************
* Dependencies