[git commit future 1/1] dl-string.h: use __powerpc__ guard instead of powerpc

Khem Raj raj.khem at gmail.com
Sat Mar 19 18:51:25 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=b698bd81de42e45472d1f109a43689b18b2db204
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future

powerpc guard depends on the compiler options, __powerpc__ should
work all the time.

Signed-off-by: Peter S. Mazinger <ps.m at 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 667e12e..eb14432 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.3.4



More information about the uClibc-cvs mailing list