]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/font.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / motif / font.h
index 1cd7ea239f10f8144fc2895a108f827a577a635b..62be50f08e018c1cb58192601f72dc1d9e894e46 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_FONT_H_
 #define _WX_FONT_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "font.h"
 #endif