summaryrefslogtreecommitdiff
path: root/sys/arch/m88k/include/limits.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/m88k/include/limits.h')
-rw-r--r--sys/arch/m88k/include/limits.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/m88k/include/limits.h b/sys/arch/m88k/include/limits.h
index d2eaa31dfaf..e071b720c15 100644
--- a/sys/arch/m88k/include/limits.h
+++ b/sys/arch/m88k/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.2 2005/12/14 21:46:31 millert Exp $ */
+/* $OpenBSD: limits.h,v 1.3 2006/01/06 22:48:47 millert Exp $ */
/*
* Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved.
@@ -38,7 +38,9 @@
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
#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