summaryrefslogtreecommitdiffstats
path: root/include/inttypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/inttypes.h')
-rw-r--r--include/inttypes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/inttypes.h b/include/inttypes.h
index 6efcd81..cd59bed 100644
--- a/include/inttypes.h
+++ b/include/inttypes.h
@@ -32,10 +32,12 @@
#include <machine/_inttypes.h>
#include <sys/stdint.h>
+#ifndef __cplusplus
#ifdef _BSD_WCHAR_T_
typedef _BSD_WCHAR_T_ wchar_t;
#undef _BSD_WCHAR_T_
#endif
+#endif
typedef struct {
intmax_t quot; /* Quotient. */
OpenPOWER on IntegriCloud