]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dynload.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / dynload.h
index 7271c2ea8efed3a7c28e95b955edce2c5a51bfa2..ae8e8e5e34625b620356aa90024c3525a75c7e63 100644 (file)
@@ -13,7 +13,7 @@
 #ifndef _WX_DYNAMICLOADER_H__
 #define _WX_DYNAMICLOADER_H__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "dynload.h"
 #endif