diff options
author | alfred <alfred@FreeBSD.org> | 2002-05-30 07:13:40 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-05-30 07:13:40 +0000 |
commit | cf295fd4a0f6a67861dc0809060376d1d1bf7fb7 (patch) | |
tree | 249ed7c55968b92b4b8740ed5f8bda1a8b2f1cf0 /sys/dev/joy/joy.c | |
parent | 166dc2c9af70098cd040f01a42ba83298b224847 (diff) | |
download | FreeBSD-src-cf295fd4a0f6a67861dc0809060376d1d1bf7fb7.zip FreeBSD-src-cf295fd4a0f6a67861dc0809060376d1d1bf7fb7.tar.gz |
Check for defined(__i386__) instead of just defined(i386) since the compiler
will be updated to only define(__i386__) for ANSI cleanliness.
Diffstat (limited to 'sys/dev/joy/joy.c')
-rw-r--r-- | sys/dev/joy/joy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/joy/joy.c b/sys/dev/joy/joy.c index 967e6bd..4580c6a 100644 --- a/sys/dev/joy/joy.c +++ b/sys/dev/joy/joy.c @@ -165,7 +165,7 @@ joyread(dev_t dev, struct uio *uio, int flag) int state = 0; struct timespec x, y; struct joystick c; -#ifndef i386 +#ifndef __i386__ int s; s = splhigh(); @@ -192,7 +192,7 @@ joyread(dev_t dev, struct uio *uio, int flag) if (timespecisset(&x) && timespecisset(&y)) break; } -#ifndef i386 +#ifndef __i386__ splx(s); #else enable_intr (); |