libc/stdlib/strtorx.c: Fix ifdef to check _LDBL_EQ_DBL.

This commit is contained in:
Steve Ellcey
2015-11-24 13:59:31 -08:00
parent 8e62ab4ccc
commit 10677229b9
2 changed files with 6 additions and 2 deletions

View File

@ -37,7 +37,7 @@ THIS SOFTWARE.
#include "gdtoa.h"
#include "gd_qnan.h"
#ifdef _HAVE_LONG_DOUBLE
#if defined (_HAVE_LONG_DOUBLE) && !defined (_LDBL_EQ_DBL)
#undef _0
#undef _1
@ -126,4 +126,4 @@ _strtorx_r(struct _reent *p, const char *s, char **sp, int rounding, void *L)
return k;
}
#endif /* _HAVE_LONG_DOUBLE */
#endif /* _HAVE_LONG_DOUBLE && !_LDBL_EQ_DBL */