File tree 1 file changed +3
-8
lines changed
Sources/CoreFoundation/internalInclude
1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -109,11 +109,6 @@ typedef char * Class;
109
109
#include <pthread.h>
110
110
#endif
111
111
112
- #if TARGET_OS_ANDROID
113
- #define HAVE_STRLCPY 1
114
- #define HAVE_STRLCAT 1
115
- #endif
116
-
117
112
#if TARGET_OS_WIN32
118
113
#define BOOL WINDOWS_BOOL
119
114
@@ -205,9 +200,9 @@ static dispatch_queue_t __ ## PREFIX ## Queue(void) { \
205
200
#endif
206
201
207
202
// 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 ) \
211
206
|| __GLIBC_MAJOR__ > 2 ))
212
207
#define HAVE_STRLCPY 1
213
208
#define HAVE_STRLCAT 1
You can’t perform that action at this time.
0 commit comments