X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3cd0b8c5b5a320bba065c4da306be3687d144157..a369f7c88ac33ee792046ed08eb2aa360befcea0:/include/wx/x11/dc.h diff --git a/include/wx/x11/dc.h b/include/wx/x11/dc.h index f4e58fb5d9..40b107c806 100644 --- a/include/wx/x11/dc.h +++ b/include/wx/x11/dc.h @@ -12,7 +12,7 @@ #ifndef _WX_DC_H_ #define _WX_DC_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dc.h" #endif