]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/printps.cpp
rtti api mods added
[wxWidgets.git] / src / generic / printps.cpp
index d9e0259f74bf9545040b119cf11b6f9d2fdce34d..615fa7e615a61ea1b678b4553366b1dbb7789e1d 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "printps.h"
 #endif
 
@@ -30,7 +30,7 @@
 
 #include "wx/defs.h"
 
-#if wxUSE_PRINTING_ARCHITECTURE && wxUSE_POSTSCRIPT
+#if wxUSE_PRINTING_ARCHITECTURE && wxUSE_POSTSCRIPT && (!defined(__WXMSW__) || wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW)
 
 #ifndef WX_PRECOMP
     #include "wx/utils.h"