]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/palette.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / mgl / palette.h
index 1851dec8837bcf0eea75d0c63c8ab1d92846abae..a11f8bf9a53880244126fc7da8893412f7e9e046 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef __WX_PALETTE_H__
 #define __WX_PALETTE_H__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "palette.h"
 #endif