OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36524c4
)
dl-string.h: use __powerpc__ guard instead of powerpc
author
Peter S. Mazinger
<ps.m@gmx.net>
Sat, 26 Mar 2011 00:06:00 +0000
(
01:06
+0100)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Fri, 15 Jun 2012 12:00:34 +0000
(14:00 +0200)
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>
ldso/include/dl-string.h
patch
|
blob
|
history
diff --git
a/ldso/include/dl-string.h
b/ldso/include/dl-string.h
index
361f67a
..
60dfd2b
100644
(file)
--- 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)
{