diff options
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r-- | sys/arch/powerpc/include/limits.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/powerpc/include/limits.h b/sys/arch/powerpc/include/limits.h index dc7bea2f679..f19af01fa59 100644 --- a/sys/arch/powerpc/include/limits.h +++ b/sys/arch/powerpc/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.14 2005/12/14 21:46:31 millert Exp $ */ +/* $OpenBSD: limits.h,v 1.15 2006/01/06 22:48:47 millert Exp $ */ /* $NetBSD: limits.h,v 1.1 1996/09/30 16:34:28 ws Exp $ */ /*- @@ -40,7 +40,9 @@ #define MB_LEN_MAX 1 /* no multibyte characters */ #if __POSIX_VISIBLE || __XPG_VISIBLE +#ifndef SIZE_MAX #define SIZE_MAX UINT_MAX /* max value for a size_t */ +#endif #define SSIZE_MAX INT_MAX /* max value for a ssize_t */ #endif |