summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-07-20 13:17:38 -0400
committerMike Frysinger <vapier@gentoo.org>2009-07-20 13:17:38 -0400
commit41ea9da89530817441761dfc1f3c716c17d7ccb4 (patch)
treeb9b2903b48834b6324fd89d64bfadf34e537ba9d
parent5e51016045a00dfbd5eac43aaf12b094a0895a63 (diff)
string: only include inline-asm if UCLIBC_HAS_STRING_ARCH_OPT
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--include/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/string.h b/include/string.h
index c6457d6ae..1d7a4a876 100644
--- a/include/string.h
+++ b/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