diff options
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -25,7 +25,7 @@ | |||
25 | #ifndef _DEFINES_H | 25 | #ifndef _DEFINES_H |
26 | #define _DEFINES_H | 26 | #define _DEFINES_H |
27 | 27 | ||
28 | /* $Id: defines.h,v 1.160 2010/04/09 08:13:27 dtucker Exp $ */ | 28 | /* $Id: defines.h,v 1.161 2010/10/24 00:58:44 dtucker Exp $ */ |
29 | 29 | ||
30 | 30 | ||
31 | /* Constants */ | 31 | /* Constants */ |
@@ -250,6 +250,10 @@ typedef unsigned char u_char; | |||
250 | #define SIZE_T_MAX ULONG_MAX | 250 | #define SIZE_T_MAX ULONG_MAX |
251 | #endif /* SIZE_T_MAX */ | 251 | #endif /* SIZE_T_MAX */ |
252 | 252 | ||
253 | #ifndef SIZE_MAX | ||
254 | #define SIZE_MAX UINT_MAX | ||
255 | #endif | ||
256 | |||
253 | #ifndef HAVE_SIZE_T | 257 | #ifndef HAVE_SIZE_T |
254 | typedef unsigned int size_t; | 258 | typedef unsigned int size_t; |
255 | # define HAVE_SIZE_T | 259 | # define HAVE_SIZE_T |