BeOS doesn't have mmap. Also, BeOS is case sensitive like Unix.
git-svn-id: svn://10.0.0.236/trunk@46853 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
84288de56c
commit
71d2f2dcf1
@ -36,8 +36,8 @@ MKSHLIB :=
|
||||
|
||||
include $(topsrcdir)/config/config.mk
|
||||
|
||||
# Memory mapped files are not supported under QNX and Neutrino
|
||||
ifneq ($(OS_ARCH),QNX)
|
||||
# Memory mapped files are not supported under QNX, Neutrino and BeOS
|
||||
ifeq (,$(filter BeOS QNX,$(OS_ARCH)))
|
||||
DEFINES += -DUSE_MMAP_REGISTRY_IO
|
||||
CSRCS += mmapio.c
|
||||
endif
|
||||
|
||||
@ -310,7 +310,7 @@ static REGFILE* vr_findRegFile(char *filename)
|
||||
|
||||
pReg = RegList;
|
||||
while( pReg != NULL ) {
|
||||
#ifdef XP_UNIX
|
||||
#if defined XP_UNIX || defined XP_BEOS
|
||||
if ( 0 == XP_STRCMP( filename, pReg->filename ) ) {
|
||||
#else
|
||||
if ( 0 == XP_STRCASECMP( filename, pReg->filename ) ) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user