From 31a54bcf1bf073e35d192f49320774ac485d843c Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Sun, 21 Mar 2010 22:55:18 +0000 Subject: Fixed msvc6 compilation was broken. What is the use of visualc now? seems we should remove that one ... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7312 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_PSfile_Device.H | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'FL') diff --git a/FL/Fl_PSfile_Device.H b/FL/Fl_PSfile_Device.H index 0baccb5d4..38213e105 100644 --- a/FL/Fl_PSfile_Device.H +++ b/FL/Fl_PSfile_Device.H @@ -29,6 +29,8 @@ #ifndef Fl_PSfile_Device_H #define Fl_PSfile_Device_H + +#define NO_PAGE_FORMATS 30 /* MSVC6 compilation fix */ /** \brief Sends all graphics to a local PostScript file; same API as Fl_Printer class. @@ -136,7 +138,6 @@ class Fl_PSfile_Device : public Fl_Abstract_Printer { FILE *output; double pw_, ph_; - static const int NO_PAGE_FORMATS=30; static const struct page_format page_formats[NO_PAGE_FORMATS]; uchar bg_r, bg_g, bg_b; -- cgit v1.2.3