Explorar o código

string: only include inline-asm if UCLIBC_HAS_STRING_ARCH_OPT

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger %!s(int64=15) %!d(string=hai) anos
pai
achega
41ea9da895
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/string.h

+ 1 - 1
include/string.h

@@ -483,7 +483,7 @@ libc_hidden_proto(strlcpy)
 __END_DECLS
 
 
-#ifdef UCLIBC_INTERNAL
+#if defined(UCLIBC_INTERNAL) && defined(__UCLIBC_HAS_STRING_ARCH_OPT__)
 # if defined __i386__
 #  include <../libc/string/i386/string.h>
 # endif