summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-07-20 13:17:38 -0400
committerAustin Foxley <austinf@cetoncorp.com>2009-08-19 12:17:06 -0700
commit9eb1ce46de90f18cbd4409786a01735dfc759f15 (patch)
treee630356c248ad99326ec2f6f3385c2becc5562bf
parentcda754758c48b034c71140204d5ee1400d2d9478 (diff)
downloaduClibc-alpine-9eb1ce46de90f18cbd4409786a01735dfc759f15.tar.bz2
uClibc-alpine-9eb1ce46de90f18cbd4409786a01735dfc759f15.tar.xz
string: only include inline-asm if UCLIBC_HAS_STRING_ARCH_OPT
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
-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