https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f07ea94798007fcf1b1d6…
commit f07ea94798007fcf1b1d6344844f2e5d1aede104
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Tue Nov 12 10:54:59 2024 +0200
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Wed Jan 22 18:56:08 2025 +0200
[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 <corecrt_memcpy_s.h>