aboutsummaryrefslogtreecommitdiffstats
path: root/rdoff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2016-03-08 01:22:13 -0800
committerH. Peter Anvin <hpa@zytor.com>2016-03-08 01:22:13 -0800
commitbdae10bee2ec613e8765235ba17f3383693e3d73 (patch)
tree8c2e805949fe96388089abb2c26fe0827d6cd069 /rdoff
parent1917f45ec20fc6df405bcf2fcba5b1660e1b22d7 (diff)
downloadnasm-bdae10bee2ec613e8765235ba17f3383693e3d73.tar.gz
nasm-bdae10bee2ec613e8765235ba17f3383693e3d73.tar.xz
nasm-bdae10bee2ec613e8765235ba17f3383693e3d73.zip
Move file I/O related functions out of nasmlib.c
nasmlib.[ch] desperately need to be broken up into smaller chunks. Break file I/O related functions out into file.c, so at least we can avoid the problem with P_WAIT being defined in <io.h> on Windows but is also used as a prefix constant in "nasm.h". Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'rdoff')
-rw-r--r--rdoff/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/rdoff/Makefile.in b/rdoff/Makefile.in
index 41fc5f1a..7efcc542 100644
--- a/rdoff/Makefile.in
+++ b/rdoff/Makefile.in
@@ -32,7 +32,7 @@ MKDIR = mkdir
LDRDFLIBS = rdoff.$(O) symtab.$(O) collectn.$(O) \
rdlib.$(O) segtab.$(O) hash.$(O)
RDXLIBS = rdoff.$(O) rdfload.$(O) symtab.$(O) collectn.$(O) hash.$(O)
-NASMLIB = ../nasmlib.$(O)
+NASMLIB = ../nasmlib.$(O) ../file.$(O)
# Binary suffixes
O = @OBJEXT@