File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Sources/CoreFoundation/internalInclude Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -109,11 +109,6 @@ typedef char * Class;
109109#include <pthread.h>
110110#endif
111111
112- #if TARGET_OS_ANDROID
113- #define HAVE_STRLCPY 1
114- #define HAVE_STRLCAT 1
115- #endif
116-
117112#if TARGET_OS_WIN32
118113#define BOOL WINDOWS_BOOL
119114
@@ -205,9 +200,9 @@ static dispatch_queue_t __ ## PREFIX ## Queue(void) { \
205200#endif
206201
207202// We know some things (Darwin, WASI, Glibc >= 2.38) have strlcpy/strlcat
208- #if TARGET_OS_MAC || TARGET_OS_WASI \
209- || (defined(__GLIBC__ ) && \
210- ((__GLIBC_MAJOR__ == 2 && __GLIBC_MINOR__ >= 38 ) \
203+ #if TARGET_OS_MAC || TARGET_OS_WASI || TARGET_OS_ANDROID \
204+ || (defined(__GLIBC__ ) && \
205+ ((__GLIBC_MAJOR__ == 2 && __GLIBC_MINOR__ >= 38 ) \
211206 || __GLIBC_MAJOR__ > 2 ))
212207#define HAVE_STRLCPY 1
213208#define HAVE_STRLCAT 1
You can’t perform that action at this time.
0 commit comments