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.
This commit is contained in:
Baruch Siach 2015-05-05 21:27:17 +03:00
parent 1de81c30a4
commit 81fc2c9740

View File

@ -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