d3dx9/tests: Remove the fallback NAN definition.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4b8fbc324c
commit
0d075b904b
|
@ -29,16 +29,6 @@
|
|||
#include "rmxftmpl.h"
|
||||
#include "rmxfguid.h"
|
||||
|
||||
#ifndef NAN
|
||||
/* From wine/port.h */
|
||||
static inline float __port_nan(void)
|
||||
{
|
||||
static const unsigned __nan_bytes = 0x7fc00000;
|
||||
return *(const float *)&__nan_bytes;
|
||||
}
|
||||
#define NAN __port_nan()
|
||||
#endif
|
||||
|
||||
/* Set the WINETEST_DEBUG environment variable to be greater than 1 for verbose
|
||||
* function call traces of ID3DXAllocateHierarchy callbacks. */
|
||||
#define TRACECALLBACK if(winetest_debug > 1) trace
|
||||
|
|
Loading…
Reference in New Issue