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:
parent
1de81c30a4
commit
81fc2c9740
@ -313,7 +313,7 @@ typedef void * trio_pointer_t;
|
|||||||
# define TRIO_COMPILER_SUPPORTS_LL
|
# define TRIO_COMPILER_SUPPORTS_LL
|
||||||
#endif
|
#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_FLOORL 1
|
||||||
# define TRIO_NO_CEILL 1
|
# define TRIO_NO_CEILL 1
|
||||||
# define TRIO_NO_POWL 1
|
# define TRIO_NO_POWL 1
|
||||||
|
Loading…
Reference in New Issue
Block a user