For some sad reason, gcc poisons LONG_DOUBLE in sreal.c. The identifier has been changed to OLM_LONG_DOUBLE.
@@ -26,7 +26,7 @@
#endif
#ifndef __arm__
-#define LONG_DOUBLE
+#define OLM_LONG_DOUBLE
#ifndef __pure2
@@ -72,7 +72,7 @@ __fpclassifyf(float f)
}
-#ifdef LONG_DOUBLE
+#ifdef OLM_LONG_DOUBLE
OLM_DLLEXPORT int
__fpclassifyl(long double e)
{
@@ -49,7 +49,7 @@ __isfinitef(float f)
return (u.bits.exp != 255);
__isfinitel(long double e)
@@ -51,7 +51,7 @@ __isinff(float f)
return (u.bits.exp == 255 && u.bits.man == 0);
__isinfl(long double e)
@@ -52,7 +52,7 @@ __isnanf(float f)
return (u.bits.exp == 255 && u.bits.man != 0);
__isnanl(long double e)
@@ -49,7 +49,7 @@ __isnormalf(float f)
return (u.bits.exp != 0 && u.bits.exp != 255);
__isnormall(long double e)
@@ -20,7 +20,7 @@
#define LDBL_INFNAN_EXP (LDBL_MAX_EXP * 2 - 1)
OLM_DLLEXPORT float
nexttowardf(float x, long double y)
@@ -49,7 +49,7 @@ __signbitf(float f)
return (u.bits.sign);
__signbitl(long double e)