summaryrefslogtreecommitdiffstats
path: root/sys/x86/include/_limits.h
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2012-05-24 21:44:46 +0000
committerobrien <obrien@FreeBSD.org>2012-05-24 21:44:46 +0000
commit9956833e7b6292316c59165bb0e74773f69c270c (patch)
tree049243f21675549307a1e344893a4d6c9b22d636 /sys/x86/include/_limits.h
parent63aa3307cbf61aef138580b758979c2e2bf5713d (diff)
downloadFreeBSD-src-9956833e7b6292316c59165bb0e74773f69c270c.zip
FreeBSD-src-9956833e7b6292316c59165bb0e74773f69c270c.tar.gz
Consitently use "__LP64__".
[there are 33 __LP64__'s in the kernel (minus cddl/ and contrib/), and 11 _LP64's]
Diffstat (limited to 'sys/x86/include/_limits.h')
-rw-r--r--sys/x86/include/_limits.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/x86/include/_limits.h b/sys/x86/include/_limits.h
index 17303ac..2f582e1 100644
--- a/sys/x86/include/_limits.h
+++ b/sys/x86/include/_limits.h
@@ -57,7 +57,7 @@
#define __INT_MAX 0x7fffffff /* max value for an int */
#define __INT_MIN (-0x7fffffff - 1) /* min value for an int */
-#ifdef _LP64
+#ifdef __LP64__
#define __ULONG_MAX 0xffffffffffffffff /* max for an unsigned long */
#define __LONG_MAX 0x7fffffffffffffff /* max for a long */
#define __LONG_MIN (-0x7fffffffffffffff - 1) /* min for a long */
@@ -72,7 +72,7 @@
#define __LLONG_MAX 0x7fffffffffffffffLL /* max value for a long long */
#define __LLONG_MIN (-0x7fffffffffffffffLL - 1) /* min for a long long */
-#ifdef _LP64
+#ifdef __LP64__
#define __SSIZE_MAX __LONG_MAX /* max value for a ssize_t */
#define __SIZE_T_MAX __ULONG_MAX /* max value for a size_t */
#define __OFF_MAX __LONG_MAX /* max value for an off_t */
OpenPOWER on IntegriCloud