* linux/ioctlsort.c: Check for __powerpc__.
Signed-off-by: Mike Frysinger <[email protected]>
---
this fixes behavior when ioctlsort.c is built manually on the command line
linux/ioctlsort.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/linux/ioctlsort.c b/linux/ioctlsort.c
index f544d84..0862b2e 100644
--- a/linux/ioctlsort.c
+++ b/linux/ioctlsort.c
@@ -35,7 +35,7 @@ int compare(const void* a, const void* b) {
int main(int argc, char** argv) {
int i;
-#ifdef POWERPC /* unspeakable kludge */
+#if defined(POWERPC) || defined(__powerpc__) /* unspeakable
kludge */
for (i = 0; i < nioctls; i++)
ioctls[i].code &= ~_IOC_DIRMASK;
#endif
--
1.6.5.rc2
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel