Skip to content

Commit 7891776

Browse files
[wasm] Port CoreFoundation/Locale.subproj
* Remove no longer needed `#if !TARGET_OS_WASI` * Add WASI to the list of ICU supported platforms
1 parent 3451ceb commit 7891776

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

CoreFoundation/Locale.subproj/CFLocale.c

+1-5
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,11 @@
1919
#include <CoreFoundation/CFNumber.h>
2020
#include "CFInternal.h"
2121
#include "CFRuntime_Internal.h"
22-
#if !TARGET_OS_WASI
2322
#include <CoreFoundation/CFPreferences.h>
2423
#include "CFBundle_Internal.h"
25-
#else
26-
#include "CFBase.h"
27-
#endif
2824
#include "CFLocaleInternal.h"
2925
#include <stdatomic.h>
30-
#if TARGET_OS_MAC || TARGET_OS_WIN32 || TARGET_OS_LINUX || TARGET_OS_BSD
26+
#if TARGET_OS_MAC || TARGET_OS_WIN32 || TARGET_OS_LINUX || TARGET_OS_BSD || TARGET_OS_WASI
3127
#include <unicode/uloc.h> // ICU locales
3228
#include <unicode/ulocdata.h> // ICU locale data
3329
#include <unicode/ucal.h>

0 commit comments

Comments
 (0)