]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xmlres.h
fixed condition for using #pragmas
[wxWidgets.git] / include / wx / xrc / xmlres.h
index 51118d1ea115b6705568b7c2315c714169a9d12c..2525bf733d61666191bfdac2a2a0a551daa04d15 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_XMLRES_H_
 #define _WX_XMLRES_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "xmlres.h"
 #endif