summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-26 01:06:00 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:34 +0200
commit8eab3dcbe2c9d0eb1d326329cac9dcce84b6f304 (patch)
tree76350ccd01d06b884081598fcb6ba28c2b78ac01
parent36524c4c4089b6243dfaca71d13cb8bfca762905 (diff)
dl-string.h: use __powerpc__ guard instead of powerpc
powerpc guard depends on the compiler options, __powerpc__ should work all the time. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--ldso/include/dl-string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/include/dl-string.h b/ldso/include/dl-string.h
index 361f67a74..60dfd2b01 100644
--- a/ldso/include/dl-string.h
+++ b/ldso/include/dl-string.h
@@ -142,7 +142,7 @@ static __always_inline int _dl_memcmp(const void *s1, const void *s2, size_t len
return 0;
}
-#if defined(powerpc)
+#if defined(__powerpc__)
/* Will generate smaller and faster code due to loop unrolling.*/
static __always_inline void * _dl_memset(void *to, int c, size_t n)
{