]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/dcscreen.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / mgl / dcscreen.h
index 08c5e7bbcae1f8558d5badc55b6eed4f7ee24128..1bc300e86e099c863829ec78e437275295b9b606 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef __WX_DCSCREEN_H__
 #define __WX_DCSCREEN_H__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "dcscreen.h"
 #endif