Commit b9fe0ecd authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

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: 's avatarJacek Caban <jacek@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 6cad7dd2
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment