Skip to content

Commit 3eb3a5d

Browse files
committed
dont build wchar on windows (no utf16 support)
1 parent d09f18e commit 3eb3a5d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libc/src/__support/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ add_subdirectory(time)
393393

394394
# Requires access to uchar header which is not on macos
395395
# Therefore, cannot currently build this on macos in overlay mode
396-
if(NOT (LIBC_TARGET_OS_IS_DARWIN))
396+
if(NOT (LIBC_TARGET_OS_IS_DARWIN OR LIBC_TARGET_OS_IS_WINDOWS))
397397
add_subdirectory(wchar)
398398
endif()
399399

libc/test/src/__support/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,6 @@ add_subdirectory(time)
277277
add_subdirectory(threads)
278278
# Requires access to uchar header which is not on MacOS
279279
# Cannot currently build this on MacOS in overlay mode
280-
if(NOT (LIBC_TARGET_OS_IS_DARWIN))
280+
if(NOT (LIBC_TARGET_OS_IS_DARWIN OR LIBC_TARGET_OS_IS_WINDOWS))
281281
add_subdirectory(wchar)
282282
endif()

0 commit comments

Comments
 (0)