aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Farfeleder <stefanf@FreeBSD.org>2004-05-18 16:04:57 +0000
committerStefan Farfeleder <stefanf@FreeBSD.org>2004-05-18 16:04:57 +0000
commitb1aa0ba527b758558ff81344d8eb0e173a00f6ae (patch)
treef02e752c5c4e82e24722a2f66681922f6f3a4923
parentec18ee18ad865d57f33d5c477150679a02660268 (diff)
<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)
Notes
Notes: svn path=/head/; revision=129393
-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 85dafeacf16a..1aed3e3b4efc 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 6fd81e5eb5c2..0c56c6d4e1fa 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 6dc5a7219c61..0d8aedfff5d6 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 6dc5a7219c61..0d8aedfff5d6 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 85dafeacf16a..1aed3e3b4efc 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 6dc5a7219c61..0d8aedfff5d6 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 85dafeacf16a..1aed3e3b4efc 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) */