mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-28 16:15:23 +08:00
Problem: VS2008 has no definition of UINT16_MAX
Solution: provide definition based on _UI16_MAX
This commit is contained in:
parent
8b030a9256
commit
763760988f
@ -60,6 +60,9 @@ typedef unsigned __int32 uint32_t;
|
||||
#ifndef uint64_t
|
||||
typedef unsigned __int64 uint64_t;
|
||||
#endif
|
||||
#ifndef UINT16_MAX
|
||||
#define UINT16_MAX _UI16_MAX
|
||||
#endif
|
||||
#ifndef UINT32_MAX
|
||||
#define UINT32_MAX _UI32_MAX
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user