X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83df96d63a52ebb08b9e32549dc255354b4a18d0..eba99da4c0563e6508761272a1e1f1b791d0af6b:/include/wx/x11/joystick.h 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