mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
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:
parent
8e184e94ea
commit
8329627e43
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user