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:
@@ -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
|
||||
|
Reference in New Issue
Block a user