summaryrefslogtreecommitdiff
path: root/scon.c
diff options
context:
space:
mode:
Diffstat (limited to 'scon.c')
-rw-r--r--scon.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/scon.c b/scon.c
index 8250e49..f0a24dd 100644
--- a/scon.c
+++ b/scon.c
@@ -638,6 +638,17 @@ void ew_print_string (char *s)
fputs (s,stderr);
}
+#ifdef A64
+void w_print_int (long n)
+{
+ printf ("%ld",n);
+}
+
+void ew_print_int (long n)
+{
+ fprintf (stderr,"%ld",n);
+}
+#else
void w_print_int (int n)
{
printf ("%d",n);
@@ -647,6 +658,7 @@ void ew_print_int (int n)
{
fprintf (stderr,"%d",n);
}
+#endif
void w_print_real (double r)
{