GCC 4.0 (Apple 4059) is a little bit pickier than 3.3.
[wxWidgets.git] / include / wx / x11 / dcscreen.h
index c1f9751d4a1da6ef501be21b08038dace3c2e45f..b1c32801f58002f64aeddbcf41816075330808b2 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_DCSCREEN_H_
 #define _WX_DCSCREEN_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "dcscreen.h"
 #endif