Partial fix for 686816, Missing reference to LPRGBQUAD kills make in Watcom envrion

Alex Cherepanov <[email protected]>
Newsgroups gmane.comp.printing.ghostscript.patches
Organization Coscript Software
Message-ID <[email protected]>
OpenWatcom doesm't define LPRGBQUAD. Add the corresponding typedef.
Partial fix for 686816	

Although this fixes the problem reported there are many other
issues preventing GS from building on OpenWatcom.
windows_.h.diff (text/plain, 550 B)
Index: gs/src/windows_.h
===================================================================
RCS file: /cvs/ghostscript/gs/src/windows_.h,v
retrieving revision 1.4
diff -b -u -r1.4 windows_.h
--- gs/src/windows_.h	21 Feb 2002 22:24:54 -0000	1.4
+++ gs/src/windows_.h	13 Aug 2003 00:15:04 -0000
@@ -24,6 +24,7 @@
 #include <windows.h>
 
 #ifdef __WATCOMC__
+typedef RGBQUAD FAR * LPRGBQUAD;
 	/* Watcom's _beginthread takes an extra stack_bottom argument. */
 #  define BEGIN_THREAD(proc, stksize, data)\
      _beginthread(proc, NULL, stksize, data)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.