From 2ad564554e4eb1289e193458c5435be0127b5eb8 Mon Sep 17 00:00:00 2001
From: Peter S. Mazinger <ps.m@gmx.net>
Date: Sat, 26 Mar 2011 01:06:00 +0100
Subject: [PATCH 203/396] 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>
---
 ldso/include/dl-string.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ldso/include/dl-string.h b/ldso/include/dl-string.h
index e9a992d..6099670 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)
 {
-- 
1.7.0.4

