summaryrefslogtreecommitdiffstats
path: root/include/stddef.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stddef.h')
-rw-r--r--include/stddef.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/stddef.h b/include/stddef.h
index feb1cdc..1e8dd2e 100644
--- a/include/stddef.h
+++ b/include/stddef.h
@@ -55,10 +55,12 @@ typedef _BSD_SIZE_T_ size_t;
#undef _BSD_SIZE_T_
#endif
+#ifndef __cplusplus
#ifdef _BSD_WCHAR_T_
typedef _BSD_WCHAR_T_ wchar_t;
#undef _BSD_WCHAR_T_
#endif
+#endif
#ifndef NULL
#define NULL 0
OpenPOWER on IntegriCloud