0
0
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:
Simon Giesecke 2018-05-25 13:32:07 +02:00
parent 8b030a9256
commit 763760988f

View File

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