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:
duncan%be.com 1999-09-10 22:35:58 +00:00
parent 84288de56c
commit 71d2f2dcf1
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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 ) ) {