summaryrefslogtreecommitdiff
blob: 8a05b94eb70a1bf0a4292297651dd96f0fe03bc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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;