mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 06:26:02 -07:00
shield windows defines, in case they are already defined
This commit is contained in:
parent
140e5c06fb
commit
7c9f9c4a73
1 changed files with 4 additions and 0 deletions
|
@ -9,8 +9,12 @@
|
|||
#define _CPPHTTPLIB_HTTPLIB_H_
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#ifndef _CRT_SECURE_NO_WARNINGS
|
||||
#define _CRT_SECURE_NO_WARNINGS
|
||||
#endif //_CRT_SECURE_NO_WARNINGS
|
||||
#ifndef _CRT_NONSTDC_NO_DEPRECATE
|
||||
#define _CRT_NONSTDC_NO_DEPRECATE
|
||||
#endif //_CRT_NONSTDC_NO_DEPRECATE
|
||||
|
||||
#ifndef SO_SYNCHRONOUS_NONALERT
|
||||
#define SO_SYNCHRONOUS_NONALERT 0x20
|
||||
|
|
Loading…
Reference in a new issue