From 8e382e97e9c1209695b2ac621423852f7799d794 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Mon, 25 Apr 2016 01:09:46 +0200 Subject: [PATCH] msvcrt: The fpclass() constants are not defines. Solaris is the only platform that has fpclass() and it defines the constants in the fpclass_t enum. So this reverts commit b0047713142de79eba454d1196b230d53781518f. Signed-off-by: Francois Gouget Signed-off-by: Alexandre Julliard --- dlls/msvcrt/math.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/dlls/msvcrt/math.c b/dlls/msvcrt/math.c index b9e05338658..402e8b2f9d8 100644 --- a/dlls/msvcrt/math.c +++ b/dlls/msvcrt/math.c @@ -665,36 +665,16 @@ int CDECL MSVCRT__fpclass(double num) #if defined(HAVE_FPCLASS) || defined(fpclass) switch (fpclass( num )) { -#ifdef FP_SNAN case FP_SNAN: return MSVCRT__FPCLASS_SNAN; -#endif -#ifdef FP_QNAN case FP_QNAN: return MSVCRT__FPCLASS_QNAN; -#endif -#ifdef FP_NINF case FP_NINF: return MSVCRT__FPCLASS_NINF; -#endif -#ifdef FP_PINF case FP_PINF: return MSVCRT__FPCLASS_PINF; -#endif -#ifdef FP_NDENORM case FP_NDENORM: return MSVCRT__FPCLASS_ND; -#endif -#ifdef FP_PDENORM case FP_PDENORM: return MSVCRT__FPCLASS_PD; -#endif -#ifdef FP_NZERO case FP_NZERO: return MSVCRT__FPCLASS_NZ; -#endif -#ifdef FP_PZERO case FP_PZERO: return MSVCRT__FPCLASS_PZ; -#endif -#ifdef FP_NNORM case FP_NNORM: return MSVCRT__FPCLASS_NN; -#endif -#ifdef FP_PNORM case FP_PNORM: return MSVCRT__FPCLASS_PN; -#endif default: return MSVCRT__FPCLASS_PN; } #elif defined (fpclassify)