* [PATCH 1/2] In C++ wchar_t is a keyword, so don't define it
@ 2011-10-10 10:33 Arvid Picciani
0 siblings, 0 replies; only message in thread
From: Arvid Picciani @ 2011-10-10 10:33 UTC (permalink / raw)
To: musl
---
arch/i386/bits/alltypes.h.sh | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/i386/bits/alltypes.h.sh b/arch/i386/bits/alltypes.h.sh
index 672d6a4..5aacc29 100755
--- a/arch/i386/bits/alltypes.h.sh
+++ b/arch/i386/bits/alltypes.h.sh
@@ -26,11 +26,13 @@ TYPEDEF __builtin_va_list va_list;
TYPEDEF struct __va_list * va_list;
#endif
+#ifndef __cplusplus
#ifdef __WCHAR_TYPE__
TYPEDEF __WCHAR_TYPE__ wchar_t;
#else
TYPEDEF long wchar_t;
#endif
+#endif
TYPEDEF long wint_t;
TYPEDEF long wctrans_t;
TYPEDEF long wctype_t;
--
1.7.7
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-10-10 10:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-10 10:33 [PATCH 1/2] In C++ wchar_t is a keyword, so don't define it Arvid Picciani
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).