Skip to content

Commit 32c6693

Browse files
committed
Need to define _LIBCPP_HAS_UNICODE to 0 for EBCDIC
1 parent 9099d69 commit 32c6693

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libcxx/include/__config_site.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@
2828
#cmakedefine01 _LIBCPP_HAS_FILESYSTEM
2929
#cmakedefine01 _LIBCPP_HAS_RANDOM_DEVICE
3030
#cmakedefine01 _LIBCPP_HAS_LOCALIZATION
31+
#if defined(__MVS__) && !defined(__NATIVE_ASCII_F)
32+
#cmakedefine _LIBCPP_HAS_UNICODE 0
33+
#else
3134
#cmakedefine01 _LIBCPP_HAS_UNICODE
35+
#endif
3236
#cmakedefine01 _LIBCPP_HAS_WIDE_CHARACTERS
3337
#cmakedefine _LIBCPP_HAS_NO_STD_MODULES
3438
#cmakedefine01 _LIBCPP_HAS_TIME_ZONE_DATABASE

0 commit comments

Comments
 (0)