wine/test.h: Remove NAN and INFINITY macros.

Those are available in UCRT (MSVC since 2015) and cause redefinition
warnings if math.h is included after test.h.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
feature/deterministic
Jacek Caban 2020-05-18 14:32:31 +02:00 committed by Alexandre Julliard
parent 6cad7dd2a7
commit b9fe0ecd3a
1 changed files with 0 additions and 9 deletions

View File

@ -44,15 +44,6 @@
#define INVALID_SET_FILE_POINTER (~0u)
#endif
#ifdef _MSC_VER
# ifndef INFINITY
# define INFINITY ((float)HUGE_VAL)
# endif
# ifndef NAN
# define NAN (INFINITY * 0.0f)
# endif
#endif
/* debug level */
extern int winetest_debug;