From 81fc2c9740f78323b2e81644b17e98e1fbcc9869 Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Tue, 5 May 2015 21:27:17 +0300 Subject: [PATCH] Don't disable C99 long double math on non Unix platforms CMakeLists.txt may enable HAVE_MATH_C99_LONG_DOUBLE only on Unix platforms. Limit the effect of this symbol accordingly. --- winpr/libwinpr/utils/trio/triodef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winpr/libwinpr/utils/trio/triodef.h b/winpr/libwinpr/utils/trio/triodef.h index 97da67e8c..9d5bf1015 100644 --- a/winpr/libwinpr/utils/trio/triodef.h +++ b/winpr/libwinpr/utils/trio/triodef.h @@ -313,7 +313,7 @@ typedef void * trio_pointer_t; # define TRIO_COMPILER_SUPPORTS_LL #endif -#if !defined(HAVE_MATH_C99_LONG_DOUBLE) +#if defined(TRIO_PLATFORM_UNIX) && !defined(HAVE_MATH_C99_LONG_DOUBLE) # define TRIO_NO_FLOORL 1 # define TRIO_NO_CEILL 1 # define TRIO_NO_POWL 1