Skip to content
Snippets Groups Projects
Commit b9fe0ecd authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard
Browse files

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