diff options
author | William Langford <wlangfor@gmail.com> | 2020-11-27 19:13:14 -0500 |
---|---|---|
committer | William Langford <wlangfor@gmail.com> | 2020-12-19 15:18:29 -0500 |
commit | 77417c1335a12c4ceef469caf38c0cbfb6315b45 (patch) | |
tree | 38bf324098589c6e4fdf5b25dd4701d6f20ea7cf /src/libm.h | |
parent | e660003abf9bdb9f9e6959d5ebe0a536862960e7 (diff) |
Clean up compile warnings on macOS
Diffstat (limited to 'src/libm.h')
-rw-r--r-- | src/libm.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -174,7 +174,7 @@ LIBM_DD(erfc) #else LIBM_DD_NO(erfc) #endif -#if defined(HAVE_EXP10) && !defined(WIN32) +#if (defined(HAVE_EXP10) && !defined(WIN32)) || (defined(__APPLE__) && defined(HAVE___EXP10)) LIBM_DD(exp10) #else LIBM_DD_NO(exp10) @@ -214,7 +214,7 @@ LIBM_DDD(fmod) #else LIBM_DDD_NO(fmod) #endif -#ifdef HAVE_GAMMA +#if defined(HAVE_GAMMA) LIBM_DD(gamma) #else LIBM_DD_NO(gamma) @@ -274,7 +274,7 @@ LIBM_DDD(scalbln) #else LIBM_DDD_NO(scalbln) #endif -#if defined(HAVE_SIGNIFICAND) && !defined(WIN32) +#if defined(HAVE_CUSTOM_SIGNIFICAND) || (defined(HAVE_SIGNIFICAND) && !defined(WIN32)) LIBM_DD(significand) #else LIBM_DD_NO(significand) |