mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-06 17:59:52 +00:00
MSVC2005 compatibility (@hotpepsi++)
This commit is contained in:
parent
34b3bbc883
commit
7df60b259b
5 changed files with 21 additions and 10 deletions
|
|
@ -46,6 +46,17 @@ typedef unsigned int _msgpack_atomic_counter_t;
|
|||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
/* numeric_limits<T>::min,max */
|
||||
#ifdef max
|
||||
#undef max
|
||||
#endif
|
||||
#ifdef min
|
||||
#undef min
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <winsock2.h>
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue