[PATCH 5/5] d3dx9_36/tests: Use NAN.
stefan at codeweavers.com
Fri Jan 3 15:32:46 CST 2014
-----BEGIN PGP SIGNED MESSAGE-----
Am 2014-01-03 22:15, schrieb Stefan Dösinger:
> NAN was available, and I assumed that I got the one from port.h.
> Admittedly I didn't check where exactly it came from. Maybe msvc
> 2013 added a NAN definition.
I got the NAN definition from the system math.h, which is included
unconditionally by d3dx9math.h, which is included by d3dx9.h, which is
included by the test. NAN is defined as INFINITY * 0.0.
So I guess a NAN definition was introduced in the Windows headers at
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
-----END PGP SIGNATURE-----
More information about the wine-devel