We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
memcmp
1 parent 965f32d commit b359d4aCopy full SHA for b359d4a
stdlib/public/SwiftShims/LibcShims.h
@@ -60,7 +60,7 @@ static inline __swift_size_t _swift_stdlib_strlen_unsigned(const unsigned char *
60
SWIFT_READONLY
61
static inline int _swift_stdlib_memcmp(const void *s1, const void *s2,
62
__swift_size_t n) {
63
-#if defined(__APPLE__) || defined(__ANDROID__) || defined(__OpenBSD__)
+#if defined(__APPLE__) || defined(__ANDROID__) || defined(__OpenBSD__) || defined(_WIN32)
64
extern int memcmp(const void * _Nullable, const void * _Nullable, __swift_size_t);
65
#else
66
extern int memcmp(const void *, const void *, __swift_size_t);
0 commit comments