winex11: add alternative header

André Hentschel nerv at dawncrow.de
Sat Sep 19 11:03:06 CDT 2009


Steven Edwards schrieb:
> 2009/9/18 André Hentschel <nerv at dawncrow.de>:
>> this is my first patch to autoconf-stuff, please tell me if i did something wrong
>> see also Bug 20070
> 
> I expect It should actually not look like the following
> 
>>  #ifdef HAVE_X11_EXTENSIONS_XF86VMODE_H
>>  #include <X11/extensions/xf86vmode.h>
>> +#elif defined (HAVE_X11_EXTENSIONS_XF86VMPROTO_H)
>> +#include <X11/extensions/xf86vmproto.h>
>>  #endif
> 
> and instead like this:
> 
> #ifdef HAVE_X11_EXTENSIONS_XF86VMODE_H
> #include <X11/extensions/xf86vmode.h>
> #endif
> #ifdef HAVE_X11_EXTENSIONS_XF86VMPROTO_H
> #include <X11/extensions/xf86vmproto.h>
> #endif
> 
> 
> Thanks
Thanks for the hint, i had this construction from http://www.winehq.org/site/docs/winedev-guide/porting (which might be outdated)
ill send a try 2

-- 

Best Regards, André Hentschel



More information about the wine-devel mailing list