From b9fe0ecd3a566dbf485e8e09c5ae08b4d54f5bc9 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Mon, 18 May 2020 14:32:31 +0200 Subject: [PATCH] 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 Signed-off-by: Alexandre Julliard --- include/wine/test.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/wine/test.h b/include/wine/test.h index 99670946714..84ac1e516bf 100644 --- a/include/wine/test.h +++ b/include/wine/test.h @@ -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;