diff options
-rw-r--r-- | defines.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -254,9 +254,11 @@ typedef unsigned int u_int32_t; | |||
254 | #define __BIT_TYPES_DEFINED__ | 254 | #define __BIT_TYPES_DEFINED__ |
255 | #endif | 255 | #endif |
256 | 256 | ||
257 | #if defined(HAVE_DECL_UINT32_MAX) && (HAVE_DECL_UINT32_MAX == 0) | 257 | #ifndef UINT32_MAX |
258 | # if (SIZEOF_INT == 4) | 258 | # if defined(HAVE_DECL_UINT32_MAX) && (HAVE_DECL_UINT32_MAX == 0) |
259 | # define UINT32_MAX UINT_MAX | 259 | # if (SIZEOF_INT == 4) |
260 | # define UINT32_MAX UINT_MAX | ||
261 | # endif | ||
260 | # endif | 262 | # endif |
261 | #endif | 263 | #endif |
262 | 264 | ||