aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdlib/ldtoa.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/ldtoa.c')
-rw-r--r--newlib/libc/stdlib/ldtoa.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/newlib/libc/stdlib/ldtoa.c b/newlib/libc/stdlib/ldtoa.c
index 26c6194..36613fa 100644
--- a/newlib/libc/stdlib/ldtoa.c
+++ b/newlib/libc/stdlib/ldtoa.c
@@ -2,6 +2,10 @@
* This program has been placed in the public domain.
*/
+#include <newlib.h>
+#include <sys/config.h>
+
+#ifndef _USE_GDTOA
#include <_ansi.h>
#include <reent.h>
#include <string.h>
@@ -3900,3 +3904,5 @@ enan (short unsigned int *nan, int size)
for (i = 0; i < n; i++)
*nan++ = *p++;
}
+
+#endif /* !_USE_GDTOA */