diff options
| author | Fabien Costantini <fabien@onepost.net> | 2010-03-21 22:55:18 +0000 |
|---|---|---|
| committer | Fabien Costantini <fabien@onepost.net> | 2010-03-21 22:55:18 +0000 |
| commit | 31a54bcf1bf073e35d192f49320774ac485d843c (patch) | |
| tree | 67d881301909804bc68b93e636ca36b314ae1ea6 /FL | |
| parent | b087f8b648a6cab810236df0f0d37ff4e41fbed7 (diff) | |
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
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_PSfile_Device.H | 3 |
1 files changed, 2 insertions, 1 deletions
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; |
