From e5d10780eff394af075c1e394605fb5c915b3688 Mon Sep 17 00:00:00 2001 From: Oxore Date: Thu, 9 Mar 2023 02:13:58 +0300 Subject: Fix compilation with optimization on Gentoo --- third_party/newlib/string/memmove.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'third_party/newlib/string/memmove.c') diff --git a/third_party/newlib/string/memmove.c b/third_party/newlib/string/memmove.c index da5dfdb..fc6acf1 100644 --- a/third_party/newlib/string/memmove.c +++ b/third_party/newlib/string/memmove.c @@ -47,6 +47,10 @@ QUICKREF /* Threshhold for punting to the byte copier. */ #define TOO_SMALL(LEN) ((LEN) < BIGBLOCKSIZE) +#if defined(memmove) +#undef memmove +#endif + /*SUPPRESS 20*/ void * __inhibit_loop_to_libcall -- cgit v1.2.3