[libc] Prevent building wchar on MacOS (#143978)

Prevent building wchar on macos as it depends on uchar.h which isn't
available
This commit is contained in:
Uzair Nawaz
2025-06-12 22:14:28 +00:00
committed by GitHub
parent 26f9161001
commit 2ee8fdbfdd

View File

@@ -391,6 +391,10 @@ add_subdirectory(fixed_point)
add_subdirectory(time)
add_subdirectory(wchar)
# Requires access to uchar header which is not on macos
# Therefore, cannot currently build this on macos in overlay mode
if(NOT(LIBC_TARGET_OS_IS_DARWIN))
add_subdirectory(wchar)
endif()
add_subdirectory(math)