From 21781c3fe922592a34371abdc09dcd13d75b2340 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 1 Dec 2016 17:31:29 +0000 Subject: Add --enable-print option to configure to allow building without print support on X11 platforms. Also, the NO_PRINT_SUPPORT preprocessor variable is renamed FL_NO_PRINT_SUPPORT. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12131 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/drivers/PostScript/Fl_PostScript.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/drivers/PostScript/Fl_PostScript.cxx') diff --git a/src/drivers/PostScript/Fl_PostScript.cxx b/src/drivers/PostScript/Fl_PostScript.cxx index e764ed0bf..75facf987 100644 --- a/src/drivers/PostScript/Fl_PostScript.cxx +++ b/src/drivers/PostScript/Fl_PostScript.cxx @@ -16,6 +16,8 @@ // http://www.fltk.org/str.php // +#include +#if !defined(FL_NO_PRINT_SUPPORT) #include #include #include @@ -1477,6 +1479,8 @@ void Fl_PostScript_File_Device::end_job (void) #endif // FL_DOXYGEN +#endif // !defined(FL_NO_PRINT_SUPPORT) + // // End of "$Id$". // -- cgit v1.2.3