]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/dcscreen.cpp
X error handler should be extern C (SunCC warning fix)
[wxWidgets.git] / src / mgl / dcscreen.cpp
index e3f77babb07acdfb8f1548f8f9abe02c34ba032d..148ca94a299a56fe47aded45b56a72ce8a9f8e78 100644 (file)
@@ -6,7 +6,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "dcscreen.h"
 #endif