Problem: SDL without joystick support


I got a bug report for HPUX. The guy dosn’t have the joystick stuff
compiled into his SDL library. I use the SDL_joystick.h functions and thus
my program doesn’t compile for him. Is there an ifdef I can use to prevent
this, or is SDL wrong, because the SDL_joystick functions should at least
have dummy implementations, which return 0 for the number of joysticks?

Florian Schulze