summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2004-05-18 16:04:57 +0000
committerstefanf <stefanf@FreeBSD.org>2004-05-18 16:04:57 +0000
commite784f59f1523beb876e8bb69dd780efdb8e537d6 (patch)
treef02e752c5c4e82e24722a2f66681922f6f3a4923 /sys
parentf4d682445c8ea834a5a3f044a6cbbd1b33c00737 (diff)
downloadFreeBSD-src-e784f59f1523beb876e8bb69dd780efdb8e537d6.zip
FreeBSD-src-e784f59f1523beb876e8bb69dd780efdb8e537d6.tar.gz
<stdint.h> should define WINT_M{AX,IN} independent from whether WCHAR_MIN is
defined. Otherwise first including <wchar.h> and then <stdint.h> leads to no WINT_M{AX,IN} at all. PR: 64956 Approved by: das (mentor)
Diffstat (limited to 'sys')
-rw-r--r--sys/alpha/include/_stdint.h2
-rw-r--r--sys/amd64/include/_stdint.h2
-rw-r--r--sys/arm/include/_stdint.h2
-rw-r--r--sys/i386/include/_stdint.h2
-rw-r--r--sys/ia64/include/_stdint.h2
-rw-r--r--sys/powerpc/include/_stdint.h2
-rw-r--r--sys/sparc64/include/_stdint.h2
7 files changed, 7 insertions, 7 deletions
diff --git a/sys/alpha/include/_stdint.h b/sys/alpha/include/_stdint.h
index 85dafea..1aed3e3 100644
--- a/sys/alpha/include/_stdint.h
+++ b/sys/alpha/include/_stdint.h
@@ -160,11 +160,11 @@
/* Limits of wchar_t. */
#define WCHAR_MIN INT32_MIN
#define WCHAR_MAX INT32_MAX
+#endif
/* Limits of wint_t. */
#define WINT_MIN INT32_MIN
#define WINT_MAX INT32_MAX
-#endif
#endif /* !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) */
diff --git a/sys/amd64/include/_stdint.h b/sys/amd64/include/_stdint.h
index 6fd81e5..0c56c6d 100644
--- a/sys/amd64/include/_stdint.h
+++ b/sys/amd64/include/_stdint.h
@@ -160,11 +160,11 @@
/* Limits of wchar_t. */
#define WCHAR_MIN INT32_MIN
#define WCHAR_MAX INT32_MAX
+#endif
/* Limits of wint_t. */
#define WINT_MIN INT32_MIN
#define WINT_MAX INT32_MAX
-#endif
#endif /* !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) */
diff --git a/sys/arm/include/_stdint.h b/sys/arm/include/_stdint.h
index 6dc5a72..0d8aedf 100644
--- a/sys/arm/include/_stdint.h
+++ b/sys/arm/include/_stdint.h
@@ -160,11 +160,11 @@
/* Limits of wchar_t. */
#define WCHAR_MIN INT32_MIN
#define WCHAR_MAX INT32_MAX
+#endif
/* Limits of wint_t. */
#define WINT_MIN INT32_MIN
#define WINT_MAX INT32_MAX
-#endif
#endif /* !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) */
diff --git a/sys/i386/include/_stdint.h b/sys/i386/include/_stdint.h
index 6dc5a72..0d8aedf 100644
--- a/sys/i386/include/_stdint.h
+++ b/sys/i386/include/_stdint.h
@@ -160,11 +160,11 @@
/* Limits of wchar_t. */
#define WCHAR_MIN INT32_MIN
#define WCHAR_MAX INT32_MAX
+#endif
/* Limits of wint_t. */
#define WINT_MIN INT32_MIN
#define WINT_MAX INT32_MAX
-#endif
#endif /* !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) */
diff --git a/sys/ia64/include/_stdint.h b/sys/ia64/include/_stdint.h
index 85dafea..1aed3e3 100644
--- a/sys/ia64/include/_stdint.h
+++ b/sys/ia64/include/_stdint.h
@@ -160,11 +160,11 @@
/* Limits of wchar_t. */
#define WCHAR_MIN INT32_MIN
#define WCHAR_MAX INT32_MAX
+#endif
/* Limits of wint_t. */
#define WINT_MIN INT32_MIN
#define WINT_MAX INT32_MAX
-#endif
#endif /* !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) */
diff --git a/sys/powerpc/include/_stdint.h b/sys/powerpc/include/_stdint.h
index 6dc5a72..0d8aedf 100644
--- a/sys/powerpc/include/_stdint.h
+++ b/sys/powerpc/include/_stdint.h
@@ -160,11 +160,11 @@
/* Limits of wchar_t. */
#define WCHAR_MIN INT32_MIN
#define WCHAR_MAX INT32_MAX
+#endif
/* Limits of wint_t. */
#define WINT_MIN INT32_MIN
#define WINT_MAX INT32_MAX
-#endif
#endif /* !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) */
diff --git a/sys/sparc64/include/_stdint.h b/sys/sparc64/include/_stdint.h
index 85dafea..1aed3e3 100644
--- a/sys/sparc64/include/_stdint.h
+++ b/sys/sparc64/include/_stdint.h
@@ -160,11 +160,11 @@
/* Limits of wchar_t. */
#define WCHAR_MIN INT32_MIN
#define WCHAR_MAX INT32_MAX
+#endif
/* Limits of wint_t. */
#define WINT_MIN INT32_MIN
#define WINT_MAX INT32_MAX
-#endif
#endif /* !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) */
OpenPOWER on IntegriCloud