summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/include/_limits.h4
-rw-r--r--sys/amd64/include/limits.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/include/_limits.h b/sys/amd64/include/_limits.h
index 2026e46..1284b31 100644
--- a/sys/amd64/include/_limits.h
+++ b/sys/amd64/include/_limits.h
@@ -39,8 +39,6 @@
#ifndef _MACHINE__LIMITS_H_
#define _MACHINE__LIMITS_H_
-#define __CHAR_BIT 8 /* number of bits in a char */
-
/*
* According to ANSI (section 2.2.4.2), the values below must be usable by
* #if preprocessing directives. Additionally, the expression must have the
@@ -52,6 +50,8 @@
* some other compilers as well, but this should not be depended on.
*/
+#define __CHAR_BIT 8 /* number of bits in a char */
+
#define __SCHAR_MAX 0x7f /* max value for a signed char */
#define __SCHAR_MIN (-0x7f-1) /* min value for a signed char */
diff --git a/sys/amd64/include/limits.h b/sys/amd64/include/limits.h
index 8a36831..8437ddb 100644
--- a/sys/amd64/include/limits.h
+++ b/sys/amd64/include/limits.h
@@ -36,7 +36,7 @@
* $FreeBSD$
*/
-#ifndef _MACHINE_LIMITS_H_
+#ifndef _MACHINE_LIMITS_H_
#define _MACHINE_LIMITS_H_
#if __GNUC__
OpenPOWER on IntegriCloud