diff options
Diffstat (limited to 'newlib/libc/stdlib')
-rw-r--r-- | newlib/libc/stdlib/strtodg.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/stdlib/strtodg.c b/newlib/libc/stdlib/strtodg.c index 594238a9e..a6b32908b 100644 --- a/newlib/libc/stdlib/strtodg.c +++ b/newlib/libc/stdlib/strtodg.c @@ -39,6 +39,8 @@ THIS SOFTWARE. #include "locale.h" +#if defined (_HAVE_LONG_DOUBLE) && !defined (_LDBL_EQ_DBL) + #define USE_LOCALE static const int @@ -1141,3 +1143,5 @@ _strtodg_r } return irv; } + +#endif /* _HAVE_LONG_DOUBLE && !_LDBL_EQ_DBL */ |