summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-12-19 10:56:44 +1100
committerDarren Tucker <dtucker@zip.com.au>2003-12-19 10:56:44 +1100
commita08179fe76d52d8af4ce45d40741174f939ed48c (patch)
treef68ef8e84aa6c254b86486a73be7b13813137a68
parent90788a64b1f60e0af6a5bb48892f16a8ca8cac20 (diff)
- (dtucker) [defines.h] Bug #458: Define SIZE_T_MAX as UINT_MAX if weV_3_7
typedef size_t ourselves.
-rw-r--r--ChangeLog6
-rw-r--r--defines.h3
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0657a253..6d52cc19 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20031219
+ - (dtucker) [defines.h] Bug #458: Define SIZE_T_MAX as UINT_MAX if we
+ typedef size_t ourselves.
+
20031218
- (dtucker) [configure.ac] Don't use setre[ug]id on DG-UX, from Tom Orban.
@@ -1294,4 +1298,4 @@
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
-$Id: ChangeLog,v 1.2994.2.64 2003/12/18 01:51:53 dtucker Exp $
+$Id: ChangeLog,v 1.2994.2.65 2003/12/18 23:56:44 dtucker Exp $
diff --git a/defines.h b/defines.h
index e662966f..9f7afc60 100644
--- a/defines.h
+++ b/defines.h
@@ -25,7 +25,7 @@
#ifndef _DEFINES_H
#define _DEFINES_H
-/* $Id: defines.h,v 1.103 2003/09/16 01:52:19 dtucker Exp $ */
+/* $Id: defines.h,v 1.103.2.1 2003/12/18 23:56:44 dtucker Exp $ */
/* Constants */
@@ -240,6 +240,7 @@ typedef unsigned char u_char;
#ifndef HAVE_SIZE_T
typedef unsigned int size_t;
# define HAVE_SIZE_T
+# define SIZE_T_MAX UINT_MAX
#endif /* HAVE_SIZE_T */
#ifndef HAVE_SSIZE_T