Browse Source

string: only include inline-asm if UCLIBC_HAS_STRING_ARCH_OPT

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger 15 years ago
parent
commit
41ea9da895
1 changed files with 1 additions and 1 deletions
  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