From f07ea94798007fcf1b1d6344844f2e5d1aede104 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Tue, 12 Nov 2024 10:54:59 +0200 Subject: [PATCH] [UCRT] Fix build of memcpy_s.cpp extern inline creates a global symbol on MSVC, but not on GCC. Use extern instead. --- sdk/lib/ucrt/string/memcpy_s.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/lib/ucrt/string/memcpy_s.cpp b/sdk/lib/ucrt/string/memcpy_s.cpp index 4232b2cd580..80717335c27 100644 --- a/sdk/lib/ucrt/string/memcpy_s.cpp +++ b/sdk/lib/ucrt/string/memcpy_s.cpp @@ -6,5 +6,5 @@ // Provides external definitions of the inline functions memcpy_s and memmove_s // for use by objects compiled with older versions of the CRT headers. // -#define _CRT_MEMCPY_S_INLINE extern __inline +#define _CRT_MEMCPY_S_INLINE extern #include