Zebediah Figura : d3dx9/tests: Remove the fallback NAN definition.

Alexandre Julliard julliard at winehq.org
Fri Mar 5 15:31:15 CST 2021


Module: wine
Branch: master
Commit: 0d075b904b28a03cec304480446fab7753c3094f
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=0d075b904b28a03cec304480446fab7753c3094f

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Thu Mar  4 20:14:27 2021 -0600

d3dx9/tests: Remove the fallback NAN definition.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d3dx9_36/tests/mesh.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/dlls/d3dx9_36/tests/mesh.c b/dlls/d3dx9_36/tests/mesh.c
index 42deb32b934..e981f3623ce 100644
--- a/dlls/d3dx9_36/tests/mesh.c
+++ b/dlls/d3dx9_36/tests/mesh.c
@@ -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




More information about the wine-cvs mailing list