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