1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-09-04 12:42:09 +03:00

Avoid some Visual Studio redefinition warning

This commit is contained in:
bel
2015-04-27 21:37:55 +02:00
parent c8a5e26a93
commit 67c9d35e10

View File

@@ -21,7 +21,12 @@
*/
#if defined(_WIN32)
#ifndef _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS /* Disable deprecation warning in VS2005 */
#endif
#ifndef _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE
#endif
#else
#define _XOPEN_SOURCE 600 /* For PATH_MAX on linux */
#endif