summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/_stdint.h
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/powerpc/include/_stdint.h
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/powerpc/include/_stdint.h')
-rw-r--r--sys/powerpc/include/_stdint.h2
1 files changed, 1 insertions, 1 deletions
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) */
OpenPOWER on IntegriCloud