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