X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83df96d63a52ebb08b9e32549dc255354b4a18d0..c65650d7b5472d00da0a0516ff1a2ccf53746319:/include/wx/x11/joystick.h?ds=sidebyside diff --git a/include/wx/x11/joystick.h b/include/wx/x11/joystick.h index 7148fcd4c9..b4d3024919 100644 --- a/include/wx/x11/joystick.h +++ b/include/wx/x11/joystick.h @@ -12,7 +12,7 @@ #ifndef _WX_JOYSTICK_H_ #define _WX_JOYSTICK_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "joystick.h" #endif