libm: Watcom defines huge=__huge: undefine it to fix build using Watcom.

This commit is contained in:
Ozkan Sezer
2018-11-18 11:50:20 +03:00
parent ed8413c937
commit 1a02403ea7
5 changed files with 20 additions and 0 deletions

View File

@@ -20,6 +20,10 @@
#include "math_private.h"
#include <limits.h>
#ifdef __WATCOMC__ /* Watcom defines huge=__huge */
#undef huge
#endif
static const double
two54 = 1.80143985094819840000e+16, /* 0x43500000, 0x00000000 */
twom54 = 5.55111512312578270212e-17, /* 0x3C900000, 0x00000000 */