summaryrefslogtreecommitdiffstats
path: root/sys/arch/powerpc/include/limits.h
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2015-04-30 13:42:08 +0000
committermillert <millert@openbsd.org>2015-04-30 13:42:08 +0000
commit39ef54bd3c88f782799e8263a3c3a00d355071fb (patch)
tree0033c89b3bd3cc08d81967455cb8d80fad1ad6f1 /sys/arch/powerpc/include/limits.h
parentAllow use of 1Gb 1000baseLX SFPs in 82599 ix(4) SFP+ port. Adapted from (diff)
downloadwireguard-openbsd-39ef54bd3c88f782799e8263a3c3a00d355071fb.tar.xz
wireguard-openbsd-39ef54bd3c88f782799e8263a3c3a00d355071fb.zip
Remove SIZE_MAX from limits.h. It was added years ago before we
had a proper stdint.h. No ports fallout. OK guenther@ miod@
Diffstat (limited to 'sys/arch/powerpc/include/limits.h')
-rw-r--r--sys/arch/powerpc/include/limits.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/arch/powerpc/include/limits.h b/sys/arch/powerpc/include/limits.h
index e134f5eab00..edf7201ed6c 100644
--- a/sys/arch/powerpc/include/limits.h
+++ b/sys/arch/powerpc/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.17 2013/08/07 15:34:01 kettenis Exp $ */
+/* $OpenBSD: limits.h,v 1.18 2015/04/30 13:42:08 millert Exp $ */
/* $NetBSD: limits.h,v 1.1 1996/09/30 16:34:28 ws Exp $ */
/*-
@@ -38,9 +38,6 @@
#include <sys/cdefs.h>
#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