]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/geometry.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / geometry.h
index 7f1bc382a7de5c3184a57df5148b3951fc6f6c09..18fa889e1b65a17ddf0d2a1256640dd3101558a1 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_GEOMETRY_H_
 #define _WX_GEOMETRY_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "geometry.cpp"
 #endif