src/joystick/bsd/SDL_sysjoystick.c
changeset 1185 58538e140e2d
parent 965 b68e551205e9
child 1312 c9b51268668f
     1.1 --- a/src/joystick/bsd/SDL_sysjoystick.c	Tue Nov 22 15:07:41 2005 +0000
     1.2 +++ b/src/joystick/bsd/SDL_sysjoystick.c	Tue Nov 22 15:10:41 2005 +0000
     1.3 @@ -60,7 +60,7 @@
     1.4  #include <sys/joystick.h>
     1.5  #endif
     1.6  
     1.7 -#if defined(__NetBSD__) || defined(__OpenBSD__)
     1.8 +#if defined(__NetBSD__) || (defined(__OpenBSD__) && defined(__i386__))
     1.9  #include <machine/joystick.h>
    1.10  #endif
    1.11  
    1.12 @@ -370,7 +370,7 @@
    1.13  	int nbutton, naxe = -1;
    1.14  	Sint32 v;
    1.15  
    1.16 -#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
    1.17 +#if defined(__FreeBSD__) || defined(__NetBSD__) || (defined(__OpenBSD__) && defined(__i386__))
    1.18  	struct joystick gameport;
    1.19  	static int x, y, xmin = 0xffff, ymin = 0xffff, xmax = 0, ymax = 0;
    1.20