diff options
| author | Alon Zakai <alonzakai@gmail.com> | 2013-10-28 17:48:43 -0700 |
|---|---|---|
| committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-28 17:48:43 -0700 |
| commit | 743038d9a8a72a851d09f2428b9fc009dbaf5298 (patch) | |
| tree | a70bb545542305e9367f98b3e8b489adfc6998da /system/include/compat/wchar.h | |
| parent | 58281d10e847d62ad10ba56d65aea4c2fb8f4aa0 (diff) | |
| parent | 5017df14dbeadcb486a5b8b95533142ee4296fd1 (diff) | |
Merge pull request #1740 from waywardmonkeys/boost-libcxx-libc-interaction
Fix an issue with Boost compilation.
Diffstat (limited to 'system/include/compat/wchar.h')
| -rw-r--r-- | system/include/compat/wchar.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/system/include/compat/wchar.h b/system/include/compat/wchar.h new file mode 100644 index 00000000..42f0bcee --- /dev/null +++ b/system/include/compat/wchar.h @@ -0,0 +1,23 @@ +#ifndef _COMPAT_WCHAR_H_ +#define _COMPAT_WCHAR_H_ + +#include_next <wchar.h> + +/* We undef these until libcxx is fixed. Without this, + some things can fail to compile correctly, like + Boost. Issue #1716. */ + +#undef iswalpha +#undef iswblank +#undef iswcntrl +#undef iswdigit +#undef iswgraph +#undef iswlower +#undef iswprint +#undef iswpunct +#undef iswspace +#undef iswupper +#undef iswxdigit +#undef iswctype + +#endif /* _COMPAT_WCHAR_H_ */ |
