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