Commit 76376098 authored by Simon Giesecke's avatar Simon Giesecke

Problem: VS2008 has no definition of UINT16_MAX

Solution: provide definition based on _UI16_MAX
parent 8b030a92
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment