]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/printps.h
compilation fix for cygwin
[wxWidgets.git] / include / wx / generic / printps.h
index 5934eaf40a8dfbb8dd6a5ed850604998950a65bc..0921b4b85f5b91f86157917598c0c9bdbbbf7b78 100644 (file)
 #ifndef __PRINTPSH__
 #define __PRINTPSH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "printps.h"
 #endif
 
 #include "wx/prntbase.h"
 
-#if wxUSE_PRINTING_ARCHITECTURE
+#if wxUSE_PRINTING_ARCHITECTURE && wxUSE_POSTSCRIPT
 
 // ----------------------------------------------------------------------------
 // Represents the printer: manages printing a wxPrintout object