undef after including winsock2.h.

This commit is contained in:
firewood 2010-02-05 22:49:00 +09:00
parent 7df60b259b
commit 66ef6c9e4c

View File

@ -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