--- freeglut-2.4.0/src/freeglut_joystick.c.orig 2005-07-02 10:41:52.000000000 +0200 | |
+++ freeglut-2.4.0/src/freeglut_joystick.c 2005-07-02 10:44:17.000000000 +0200 | |
@@ -1389,7 +1389,7 @@ | |
# endif | |
#endif | |
-#if defined( __linux__ ) | |
+#if defined( __linux__ ) || defined(__APPLE_CC__) | |
/* Default for older Linux systems. */ | |
joy->num_axes = 2; | |
joy->num_buttons = 32; |