summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/defines.h b/defines.h
index 6c816e782..a347a44ff 100644
--- a/defines.h
+++ b/defines.h
@@ -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