ioctlsort: Check ppc hosts too
* linux/ioctlsort.c: Check for __powerpc__. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
0fda1c59cc
commit
b065daa71b
@ -35,7 +35,7 @@ int compare(const void* a, const void* b) {
|
|||||||
int main(int argc, char** argv) {
|
int main(int argc, char** argv) {
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
#ifdef POWERPC /* unspeakable kludge */
|
#if defined(POWERPC) || defined(__powerpc__) /* unspeakable kludge */
|
||||||
for (i = 0; i < nioctls; i++)
|
for (i = 0; i < nioctls; i++)
|
||||||
ioctls[i].code &= ~_IOC_DIRMASK;
|
ioctls[i].code &= ~_IOC_DIRMASK;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user