mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-06 17:59:52 +00:00
undef after including winsock2.h.
This commit is contained in:
parent
7df60b259b
commit
66ef6c9e4c
1 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue