ioctlsort: Check ppc hosts too

* linux/ioctlsort.c: Check for __powerpc__.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger 2009-10-07 01:05:10 -04:00 committed by Dmitry V. Levin
parent 0fda1c59cc
commit b065daa71b

View File

@ -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