File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 29
29
#define WEBSOCKETPP_COMMON_NETWORK_HPP
30
30
31
31
// For ntohs and htons
32
- #if defined(WIN32 )
32
+ #if defined(_WIN32 )
33
33
#include < winsock2.h>
34
34
#else
35
35
// #include <arpa/inet.h>
Original file line number Diff line number Diff line change 33
33
* don't fit somewhere else better.
34
34
*/
35
35
36
- #if defined(WIN32 ) && !defined(NOMINMAX)
36
+ #if defined(_WIN32 ) && !defined(NOMINMAX)
37
37
// don't define min and max macros that conflict with std::min and std::max
38
38
#define NOMINMAX
39
39
#endif
Original file line number Diff line number Diff line change 32
32
#define __STDC_LIMIT_MACROS 1
33
33
#endif
34
34
35
- #if WIN32 && (_MSC_VER < 1600)
35
+ #if defined (_WIN32) && defined (_MSC_VER) && (_MSC_VER < 1600)
36
36
#include < boost/cstdint.hpp>
37
37
38
38
using boost::int8_t ;
You can’t perform that action at this time.
0 commit comments