summaryrefslogtreecommitdiff
path: root/ufileIO2.c
diff options
context:
space:
mode:
authorJohn van Groningen2005-04-20 14:01:31 +0000
committerJohn van Groningen2005-04-20 14:01:31 +0000
commitf8cff392ce5f0c500565e1bd6cf3cadb2e5a9dff (patch)
tree335e155d497ed000f4bdfcfbf4688d61e5057400 /ufileIO2.c
parentscript to build the object files for windows (diff)
disable OLD_READ_STRING and OLD_WRITE_STRING for linux
Diffstat (limited to 'ufileIO2.c')
-rw-r--r--ufileIO2.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ufileIO2.c b/ufileIO2.c
index ba8484f..2aadfed 100644
--- a/ufileIO2.c
+++ b/ufileIO2.c
@@ -601,8 +601,10 @@ int file_read_real (long fn,double *r_p)
}
}
-#define OLD_READ_STRING 1
-#define OLD_WRITE_STRING 1
+#ifndef LINUX
+# define OLD_READ_STRING 1
+# define OLD_WRITE_STRING 1
+#endif
#if OLD_READ_STRING
unsigned long file_read_string (long fn,unsigned long max_length,struct clean_string *s)