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

"Igor V. Melichev" <[email protected]>
Newsgroups gmane.comp.printing.ghostscript.patches
Message-ID <[email protected]>
Please commit.

Igor.

----- Original Message ----- 
From: "Alex Cherepanov" <[email protected]>
To: "gs-code-review" <[email protected]>; "Igor V. Melichev"
<[email protected]>
Sent: Wednesday, August 13, 2003 4:36 AM
Subject: Partial fix for 686816, Missing reference to LPRGBQUAD kills make
in Watcom envrion


> 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.
>


----------------------------------------------------------------------------
----


> 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.