diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-08-21 02:54:11 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-08-21 02:54:11 +0000 |
commit | 3962119c8a07699ef082ef3839b6408135dfc33b (patch) | |
tree | fe90abcf54ada9dee3a3e476d827b2dcbf8058b1 | |
parent | 479b476af623835b551ace88463665e6be7c8873 (diff) |
- (bal) [defines.h] Some platforms don't have SIZE_T_MAX. So assign
it to ULONG_MAX.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | defines.h | 6 |
2 files changed, 8 insertions, 2 deletions
@@ -39,6 +39,8 @@ | |||
39 | - stevesk@cvs.openbsd.org 2002/08/17 23:55:01 | 39 | - stevesk@cvs.openbsd.org 2002/08/17 23:55:01 |
40 | [ssh_config.5] | 40 | [ssh_config.5] |
41 | ordered list here | 41 | ordered list here |
42 | - (bal) [defines.h] Some platforms don't have SIZE_T_MAX. So assign | ||
43 | it to ULONG_MAX. | ||
42 | 44 | ||
43 | 20020813 | 45 | 20020813 |
44 | - (tim) [configure.ac] Display OpenSSL header/library version. | 46 | - (tim) [configure.ac] Display OpenSSL header/library version. |
@@ -1536,4 +1538,4 @@ | |||
1536 | - (stevesk) entropy.c: typo in debug message | 1538 | - (stevesk) entropy.c: typo in debug message |
1537 | - (djm) ssh-keygen -i needs seeded RNG; report from markus@ | 1539 | - (djm) ssh-keygen -i needs seeded RNG; report from markus@ |
1538 | 1540 | ||
1539 | $Id: ChangeLog,v 1.2425 2002/08/20 19:04:51 mouring Exp $ | 1541 | $Id: ChangeLog,v 1.2426 2002/08/21 02:54:11 mouring Exp $ |
@@ -1,7 +1,7 @@ | |||
1 | #ifndef _DEFINES_H | 1 | #ifndef _DEFINES_H |
2 | #define _DEFINES_H | 2 | #define _DEFINES_H |
3 | 3 | ||
4 | /* $Id: defines.h,v 1.94 2002/07/22 23:34:25 mouring Exp $ */ | 4 | /* $Id: defines.h,v 1.95 2002/08/21 02:54:12 mouring Exp $ */ |
5 | 5 | ||
6 | 6 | ||
7 | /* Constants */ | 7 | /* Constants */ |
@@ -216,6 +216,10 @@ typedef unsigned char u_char; | |||
216 | # define HAVE_U_CHAR | 216 | # define HAVE_U_CHAR |
217 | #endif /* HAVE_U_CHAR */ | 217 | #endif /* HAVE_U_CHAR */ |
218 | 218 | ||
219 | #ifndef SIZE_T_MAX | ||
220 | #define SIZE_T_MAX ULONG_MAX | ||
221 | #endif /* SIZE_T_MAX */ | ||
222 | |||
219 | #ifndef HAVE_SIZE_T | 223 | #ifndef HAVE_SIZE_T |
220 | typedef unsigned int size_t; | 224 | typedef unsigned int size_t; |
221 | # define HAVE_SIZE_T | 225 | # define HAVE_SIZE_T |