]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/dataobj2.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / motif / dataobj2.h
index 3bd2a50a3fffd0cfe6df9097d35433372656a3ce..840586a1e53407a57691208748d7ccf60f6a2e1d 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_MOTIF_DATAOBJ2_H_
 #define _WX_MOTIF_DATAOBJ2_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "dataobj.h"
 #endif