https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1449523c6d004e1550580d89bf630d0c96d321e6

commit 1449523c6d004e1550580d89bf630d0c96d321e6
Author:     Serge Gautherie <[email protected]>
AuthorDate: Sun Jun 14 13:49:22 2020 +0200
Commit:     Victor Perevertkin <[email protected]>
CommitDate: Tue Dec 28 01:55:38 2021 +0300

    [CRT] mem/: Fix msvc14.0-amd64 build
    
    Addendum to aea4cfb.
---
 sdk/lib/crt/mem/memchr.c  | 2 +-
 sdk/lib/crt/mem/memmove.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sdk/lib/crt/mem/memchr.c b/sdk/lib/crt/mem/memchr.c
index 11682251567..ac2c68e1ba5 100644
--- a/sdk/lib/crt/mem/memchr.c
+++ b/sdk/lib/crt/mem/memchr.c
@@ -1,7 +1,7 @@
 
 #include <string.h>
 
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) && (_MSC_VER >= 1910 || !defined(_WIN64))
 #pragma function(memchr)
 #endif /* _MSC_VER */
 
diff --git a/sdk/lib/crt/mem/memmove.c b/sdk/lib/crt/mem/memmove.c
index 6d0dd8bf4d2..34b71c091ca 100644
--- a/sdk/lib/crt/mem/memmove.c
+++ b/sdk/lib/crt/mem/memmove.c
@@ -1,6 +1,6 @@
 #include <string.h>
 
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) && (_MSC_VER >= 1910 || !defined(_WIN64))
 #pragma function(memmove)
 #endif /* _MSC_VER */
 

Reply via email to