On 30/08/12 00:16, Yaakov (Cygwin/X) wrote:
On Thu, 2012-08-30 at 06:11 +0800, JonY wrote:
On 8/29/2012 14:14, Yaakov (Cygwin/X) wrote:
On Thu, 2012-08-23 at 19:45 +0100, Jon TURNEY wrote:
Yaakov, you might like to try the attached patch. With an appropriate change
to prevent BOOL redefinition errors, this builds X server for me.
WFM. Once your _PROTECT_BOOL_MACRO patch for windef.h is accepted, I
can roll an xproto update and this will be GTG.
No problems with ddraw.h status?
There's probably some decruftification which can take place later in the
xserver, of stuff which presumably predates the existence of libdxguid.a
in mingw.org's w32api
Jon's xserver patch takes care of that. The only change needed in
w32api is for _PROTECT_BOOL_MACRO in windef.h:
http://cygwin.com/ml/cygwin-apps/2012-08/msg00074.html
I'd rather not make windef.h any convoluted, and there's probably a more
elegant way to solve this problem.
Given that we are going to have to change x11proto's Xwindows.h anyhow,
it might be possible to do it all there, but I haven't found the way yet...