summaryrefslogtreecommitdiffstats
path: root/newlib/libc/machine/spu/vfprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/spu/vfprintf.c')
-rw-r--r--newlib/libc/machine/spu/vfprintf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/machine/spu/vfprintf.c b/newlib/libc/machine/spu/vfprintf.c
index 579f23bba..34128b702 100644
--- a/newlib/libc/machine/spu/vfprintf.c
+++ b/newlib/libc/machine/spu/vfprintf.c
@@ -41,6 +41,10 @@ Author: Joel Schopp <jschopp@austin.ibm.com>
#include <varargs.h>
#endif
+#ifdef INTEGER_ONLY
+# define vfprintf vfiprintf
+#endif
+
typedef struct
{
int fp;