summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn van Groningen2009-09-14 12:26:01 +0000
committerJohn van Groningen2009-09-14 12:26:01 +0000
commit3907f4cafa76df920b265658aca891ce2cf9d842 (patch)
treee4f923f992dd19f6f64d5c721d83eede516bf9ed
parentbug fix: file_read_int yields all 64 bits of result on 64 bit linux (diff)
use long * in w_get_int for A64
-rw-r--r--scon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/scon.h b/scon.h
index eadb68b..19d32d2 100644
--- a/scon.h
+++ b/scon.h
@@ -1,5 +1,9 @@
extern int w_get_char();
+#ifdef A64
+extern int w_get_int (long *i_p);
+#else
extern int w_get_int (int *i_p);
+#endif
extern int w_get_real (double *r_p);
extern unsigned long w_get_text (char *string,unsigned long max_length);
extern void w_print_char (char c);