diff options
Diffstat (limited to 'pr/src/misc/prdtoa.c')
-rw-r--r-- | pr/src/misc/prdtoa.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pr/src/misc/prdtoa.c b/pr/src/misc/prdtoa.c index 3f06feaf..b7432a2f 100644 --- a/pr/src/misc/prdtoa.c +++ b/pr/src/misc/prdtoa.c @@ -328,10 +328,11 @@ static double private_mem[PRIVATE_mem], *pmem_next = private_mem; * to allow 10.2 builds to run on 10.1, since we can't use fesetround() * (which does not exist on 10.1 either). */ -#if defined(MACOS_DEPLOYMENT_TARGET) && (MACOS_DEPLOYMENT_TARGET < 100200) +#if defined(XP_MACOSX) && (!defined(MAC_OS_X_VERSION_10_2) || \ + MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_2) #undef FLT_ROUNDS #define FLT_ROUNDS 1 -#endif +#endif /* DT < 10.2 */ #endif /* Bad_float_h */ #ifndef __MATH_H__ |