]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/dcpsg.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / generic / dcpsg.h
index b86487bf85ff48c1da152954a740f5bfe1946518..8848f1601859693d9494ebdec6b7859d5ce59da0 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_DCPSG_H_
 #define _WX_DCPSG_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "dcpsg.h"
 #endif