Skip to content

Commit

Permalink
Apparently some bits of the BSD joystick code are x86 only...joystick.h
Browse files Browse the repository at this point in the history
 only exists at /usr/sys/arch/i386/include/joystick.h, for example.
  • Loading branch information
icculus committed Nov 22, 2005
1 parent 0c7e144 commit 4081553
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/joystick/bsd/SDL_sysjoystick.c
Expand Up @@ -60,7 +60,7 @@ static char rcsid =
#include <sys/joystick.h>
#endif

#if defined(__NetBSD__) || defined(__OpenBSD__)
#if defined(__NetBSD__) || (defined(__OpenBSD__) && defined(__i386__))
#include <machine/joystick.h>
#endif

Expand Down Expand Up @@ -370,7 +370,7 @@ SDL_SYS_JoystickUpdate(SDL_Joystick *joy)
int nbutton, naxe = -1;
Sint32 v;

#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
#if defined(__FreeBSD__) || defined(__NetBSD__) || (defined(__OpenBSD__) && defined(__i386__))
struct joystick gameport;
static int x, y, xmin = 0xffff, ymin = 0xffff, xmax = 0, ymax = 0;

Expand Down

0 comments on commit 4081553

Please sign in to comment.