From 8eab3dcbe2c9d0eb1d326329cac9dcce84b6f304 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 26 Mar 2011 01:06:00 +0100 Subject: 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 Signed-off-by: Bernhard Reutner-Fischer --- ldso/include/dl-string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ldso/include') 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) { -- cgit v1.2.3