]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/dc.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / gtk1 / dc.h
index 1550c268e76d983f8a4cd11c914b79be13d9c9b5..23650e5c0cc7b42014e97593a7235a9982e6057a 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __GTKDCH__
 #define __GTKDCH__
 
 #ifndef __GTKDCH__
 #define __GTKDCH__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface
 #endif
 
 #pragma interface
 #endif