https://git.reactos.org/?p=reactos.git;a=commitdiff;h=bbc438a5d59bd477434dd…
commit bbc438a5d59bd477434dd0737e41ff8b4033bae1
Author: winesync <ros-dev(a)reactos.org>
AuthorDate: Mon Sep 21 22:51:59 2020 +0200
Commit: Jérôme Gardou <jerome.gardou(a)reactos.org>
CommitDate: Thu Feb 4 16:37:03 2021 +0100
[WINESYNC] include/msvcrt: Add INFINITY and NAN definitions.
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
wine commit id a16ef96dc624edf2666aa125fbc1c197f5edcc1b by Alexandre Julliard
<julliard(a)winehq.org>
---
modules/rostests/winetests/d3dx9_36/effect.c | 19 -------------------
sdk/tools/winesync/d3dx9.cfg | 2 +-
2 files changed, 1 insertion(+), 20 deletions(-)
diff --git a/modules/rostests/winetests/d3dx9_36/effect.c
b/modules/rostests/winetests/d3dx9_36/effect.c
index aedbdd10efe..e1f901fdc6d 100644
--- a/modules/rostests/winetests/d3dx9_36/effect.c
+++ b/modules/rostests/winetests/d3dx9_36/effect.c
@@ -22,25 +22,6 @@
#include "wine/test.h"
#include "d3dx9.h"
-#ifndef INFINITY
-static inline float __port_infinity(void)
-{
- static const unsigned __inf_bytes = 0x7f800000;
- return *(const float *)&__inf_bytes;
-}
-#define INFINITY __port_infinity()
-#endif /* INFINITY */
-
-#ifndef NAN
-static float get_nan(void)
-{
- DWORD nan = 0x7fc00000;
-
- return *(float *)&nan;
-}
-#define NAN get_nan()
-#endif
-
/* helper functions */
static BOOL compare_float(FLOAT f, FLOAT g, UINT ulps)
{
diff --git a/sdk/tools/winesync/d3dx9.cfg b/sdk/tools/winesync/d3dx9.cfg
index daefa022c1d..421aaff1e59 100644
--- a/sdk/tools/winesync/d3dx9.cfg
+++ b/sdk/tools/winesync/d3dx9.cfg
@@ -15,4 +15,4 @@ files: {include/d3dx9.h: sdk/include/dxsdk/d3dx9.h, include/d3dx9anim.h:
sdk/inc
include/d3dx9mesh.h: sdk/include/dxsdk/d3dx9mesh.h, include/d3dx9of.h:
sdk/include/dxsdk/d3dx9of.h,
include/d3dx9shader.h: sdk/include/dxsdk/d3dx9shader.h, include/d3dx9shape.h:
sdk/include/dxsdk/d3dx9shape.h,
include/d3dx9tex.h: sdk/include/dxsdk/d3dx9tex.h, include/d3dx9xof.h:
sdk/include/dxsdk/d3dx9xof.h}
-tags: {wine: 7dc42119b40ad39165d881dd8d0e410d3e84fe5a}
+tags: {wine: a16ef96dc624edf2666aa125fbc1c197f5edcc1b}