aboutsummaryrefslogtreecommitdiffstats
path: root/include/runetype.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/runetype.h')
-rw-r--r--include/runetype.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/runetype.h b/include/runetype.h
index a5f136e070c6..4ddd95d92320 100644
--- a/include/runetype.h
+++ b/include/runetype.h
@@ -53,10 +53,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
#define _CACHED_RUNES (1 <<8 ) /* Must be a power of 2 */
#define _CRMASK (~(_CACHED_RUNES - 1))