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>
This commit is contained in:
parent
6cad7dd2a7
commit
b9fe0ecd3a
|
@ -44,15 +44,6 @@
|
||||||
#define INVALID_SET_FILE_POINTER (~0u)
|
#define INVALID_SET_FILE_POINTER (~0u)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
|
||||||
# ifndef INFINITY
|
|
||||||
# define INFINITY ((float)HUGE_VAL)
|
|
||||||
# endif
|
|
||||||
# ifndef NAN
|
|
||||||
# define NAN (INFINITY * 0.0f)
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* debug level */
|
/* debug level */
|
||||||
extern int winetest_debug;
|
extern int winetest_debug;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue