summaryrefslogtreecommitdiffstats
path: root/newlib/libc/machine/spu/printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/spu/printf.c')
-rw-r--r--newlib/libc/machine/spu/printf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/machine/spu/printf.c b/newlib/libc/machine/spu/printf.c
index 5783b80e6..898e8e8f8 100644
--- a/newlib/libc/machine/spu/printf.c
+++ b/newlib/libc/machine/spu/printf.c
@@ -9,6 +9,10 @@
#include <varargs.h>
#endif
+#ifdef INTEGER_ONLY
+# define printf iprintf
+#endif
+
typedef struct
{
_CONST char* fmt;