mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-27 00:35:18 +01:00
undef after including winsock2.h.
This commit is contained in:
parent
7df60b259b
commit
66ef6c9e4c
@ -46,6 +46,9 @@ typedef unsigned int _msgpack_atomic_counter_t;
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <winsock2.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
/* numeric_limits<T>::min,max */
|
||||
#ifdef max
|
||||
@ -56,9 +59,6 @@ typedef unsigned int _msgpack_atomic_counter_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <winsock2.h>
|
||||
#else
|
||||
#include <arpa/inet.h> /* __BYTE_ORDER */
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user