Re: Add dxerr.h

2011-11-10 Thread Daniel Scharrer
Hi, On Thu, Nov 10, 2011 at 13:29, Henri Verbeet wrote: > On 10 November 2011 02:27, Daniel Scharrer wrote: >> +#include >> + >> +#define DXGetErrorStringA DXGetErrorString9A >> +#define DXGetErrorStringW DXGetErrorString9W >> +#define DXGetErrorString WINELIB_NAME_AW(DXGetErrorString) >> + >>

Re: Include math.h in d3dx9math.inl as it uses sqrt().

2011-11-10 Thread Daniel Scharrer
Hi, > Does the Microsoft header include math.h? I'm sorry, it seems I made a mistake here: the actual header file (d3dx9math.h) from wine includes math.h so the sqrt usage is ok. However, d3dx9math.inl also uses min and max macros which aren't included anywhere. Because of this a winelib user has

Re: Antw.: RFC: depending on getifaddrs in iphlpapi

2011-11-10 Thread Juan Lang
> Why? AFAIK getifaddr was added to at least openSolaris Last year and you > still can use the old Code as fallback Yes, by "keeping the current code" I meant alongside a getifaddrs-based implementation. --Juan

Antw.: RFC: depending on getifaddrs in iphlpapi

2011-11-10 Thread André Hentschel
Why? AFAIK getifaddr was added to at least openSolaris Last year and you still can use the old Code as fallback Gesendet mit meinem HTC - Reply message - Von: "Juan Lang" An: "Michael Stefaniuc" Cc: "Wine Devel" Betreff: RFC: depending on getifaddrs in iphlpapi Datum: Do., Nov. 10, 20

Re: RFC: depending on getifaddrs in iphlpapi

2011-11-10 Thread Juan Lang
>> I'm thinking of replacing the current IPv4 enumeration code, which >> uses ioctl/SIOCGIFCONF, with getifaddrs.  The reason I'm leaning >> toward replacing, rather than adding side-by-side with the current >> code, is that getifaddrs is commonly available:  it's available on all >> recent version

Re: RFC: depending on getifaddrs in iphlpapi

2011-11-10 Thread Michael Stefaniuc
Hello Juan, Juan Lang wrote: > right now iphlpapi uses autoconf to detect if getifaddrs is available, > and only uses it to enumerate IPv6 addresses. > > I'm thinking of replacing the current IPv4 enumeration code, which > uses ioctl/SIOCGIFCONF, with getifaddrs. The reason I'm leaning > toward

RFC: depending on getifaddrs in iphlpapi

2011-11-10 Thread Juan Lang
Hi folks, right now iphlpapi uses autoconf to detect if getifaddrs is available, and only uses it to enumerate IPv6 addresses. I'm thinking of replacing the current IPv4 enumeration code, which uses ioctl/SIOCGIFCONF, with getifaddrs. The reason I'm leaning toward replacing, rather than adding si

Re: Include math.h in d3dx9math.inl as it uses sqrt().

2011-11-10 Thread Henri Verbeet
Does the Microsoft header include math.h?

Re: Add dxerr.h

2011-11-10 Thread Henri Verbeet
On 10 November 2011 02:27, Daniel Scharrer wrote: > +#include > + > +#define DXGetErrorStringA DXGetErrorString9A > +#define DXGetErrorStringW DXGetErrorString9W > +#define DXGetErrorString WINELIB_NAME_AW(DXGetErrorString) > + > +#define DXGetErrorDescriptionA DXGetErrorDescription9A > +#define

Re: winspool.drv: Correct test for Device Capabilities (resend)

2011-11-10 Thread Alistair Leslie-Hughes
Hi, On 9/11/2011 9:46 PM, Marvin wrote: Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/Job