diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2006-01-06 22:48:48 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2006-01-06 22:48:48 +0000 |
commit | e3e65ac6a2cf8a617b90e4fd5162bd3d3ff22747 (patch) | |
tree | ea3065cbc70aded21c2b8e57a497a44734dd2eaf /sys/arch/sparc64 | |
parent | 3d968d723dbeb3379884001adc825a01b6513dce (diff) |
Don't redefine SIZE_MAX
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/include/limits.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc64/include/limits.h b/sys/arch/sparc64/include/limits.h index 7020923f411..2fb2418df35 100644 --- a/sys/arch/sparc64/include/limits.h +++ b/sys/arch/sparc64/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.8 2005/12/14 21:46:31 millert Exp $ */ +/* $OpenBSD: limits.h,v 1.9 2006/01/06 22:48:47 millert Exp $ */ /* $NetBSD: limits.h,v 1.8 2000/08/08 22:31:14 tshiozak Exp $ */ /* @@ -40,7 +40,9 @@ #define MB_LEN_MAX 32 /* no multibyte characters */ #if __POSIX_VISIBLE || __XPG_VISIBLE +#ifndef SIZE_MAX #define SIZE_MAX ULONG_MAX /* max value for a size_t */ +#endif #define SSIZE_MAX LONG_MAX /* max value for a ssize_t */ #endif |