Closed al45tair closed 1 month ago
@swift-ci Please test Linux platform
@swift-ci Please test Windows platform
We need the Windows build to pass, though...
C:/Users/swift-ci/jenkins/workspace/swift-corelibs-foundation-PR-windows/swift-corelibs-foundation/Sources/CoreFoundation/internalInclude/CoreFoundation_Prefix.h(203,68): error: function-like macro '__GLIBC_PREREQ' is not defined
203 | #if TARGET_OS_MAC || TARGET_OS_WASI || (defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2, 38))
| ^
Oops, yes, that's wrong. Will fix and re-spin the tests.
@swift-ci Please test Linux platform
@swift-ci Please test Windows platform
Hopefully fixed that one. That'll teach me to try to be clever and use the nice macro (the problem being that, of course, you can't use function macros in an expression if they're undefined, even after testing whether they're defined and doing an &&
).
@swift-ci Please test Windows platform
These can use
strlcpy
andstrlcat
if we have them, but we mustn't go definingstrlcpy
orstrlcat
because (a) those names are reserved, and (b) doing so without explicitly testing for their presence runs the risk of build failures from trying to define them when they already exist.rdar://137567627