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

2011-11-13 Thread Daniel Scharrer
On Fri, Nov 11, 2011 at 12:45, Francois Gouget wrote: > On Thu, 10 Nov 2011, Daniel Scharrer wrote: >> >> > 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. >> >> Howev

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

2011-11-11 Thread Francois Gouget
On Thu, 10 Nov 2011, Daniel Scharrer wrote: > > > 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 >

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

2011-11-11 Thread Rico Schüller
Am 10.11.2011 19:02, schrieb 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 inclu

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: Include math.h in d3dx9math.inl as it uses sqrt().

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