aboutsummaryrefslogtreecommitdiffstats
path: root/print/ghostscript-gnu/files/patch-lips:gdevlprn.h
blob: f692dbe410a2a39f63d042db6e30e4264e33eef9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- lips/gdevlprn.h.orig    Thu Nov  2 12:09:18 2000
+++ lips/gdevlprn.h Sat Sep 13 23:06:38 2003
@@ -28,8 +28,13 @@
 
 #include "gdevprn.h"
 
+#if GS_VERSION_MAJOR >= 8
+#define lprn_dev_proc_image_out(proc)\
+  void proc(gx_device_printer *, FILE *, int, int, int, int)
+#else
 #define lprn_dev_proc_image_out(proc)\
   void proc(P6(gx_device_printer *, FILE *, int, int, int, int))
+#endif
 
 #define dev_proc_image_out(proc) lprn_dev_proc_image_out(proc)