]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/region.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / mgl / region.h
index 440d26c7f51af0129544bf391469eef1a8412d88..ec8f4474a21f8c90005ee3f51b6ea17767b5dee2 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_REGION_H_
 #define _WX_REGION_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "region.h"
 #endif