r=cls
Makefile change so OS/2 doesn't use buffered I/O
Need to fix buffered I/O to not use fopen
This commit is contained in:
mkaply%us.ibm.com 2000-11-21 23:15:10 +00:00
parent 8e184e94ea
commit 8329627e43

View File

@ -32,7 +32,10 @@ LIBRARY_NAME = mozreg_s
PROGRAM = vreg$(BIN_SUFFIX)
CSRCS = reg.c VerReg.c vr_stubs.c nr_bufio.c
CSRCS = reg.c VerReg.c vr_stubs.c
ifneq ($(OS_ARCH),OS2)
CSRCS += nr_bufio.c
endif
BIN_SRCS = VerReg.c reg.c vr_stubs.c
PROGOBJS = $(addprefix R_,$(BIN_SRCS:.c=.o))
@ -43,7 +46,9 @@ override NO_STATIC_LIB=
include $(topsrcdir)/config/config.mk
ifneq ($(OS_ARCH),OS2)
DEFINES += -DUSE_BUFFERED_REGISTRY_IO
endif
# Memory mapped files are not supported under QNX, Neutrino, HP-UX and BeOS
#ifeq (,$(filter BeOS HP-UX QNX,$(OS_ARCH)))
#CSRCS += mmapio.c