summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/defines.h b/defines.h
index fe25170e6..49c901aff 100644
--- a/defines.h
+++ b/defines.h
@@ -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
254typedef unsigned int size_t; 258typedef unsigned int size_t;
255# define HAVE_SIZE_T 259# define HAVE_SIZE_T