]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/unix/joystick.h
#if around deprecated macros
[wxWidgets.git] / include / wx / unix / joystick.h
index 65c2401aa07bff7c35415cf28f128369f22dbe67..131851f11718ba3d8bb9b13a682401e288de4ed8 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef __JOYSTICKH__
 #define __JOYSTICKH__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "joystick.h"
 #endif