BeOS doesn't have mmap. Also, BeOS is case sensitive like Unix.

This commit is contained in:
duncan%be.com 1999-09-10 22:35:58 +00:00
Родитель 8fd31a2323
Коммит 1ac1783815
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -36,8 +36,8 @@ MKSHLIB :=
include $(topsrcdir)/config/config.mk include $(topsrcdir)/config/config.mk
# Memory mapped files are not supported under QNX and Neutrino # Memory mapped files are not supported under QNX, Neutrino and BeOS
ifneq ($(OS_ARCH),QNX) ifeq (,$(filter BeOS QNX,$(OS_ARCH)))
DEFINES += -DUSE_MMAP_REGISTRY_IO DEFINES += -DUSE_MMAP_REGISTRY_IO
CSRCS += mmapio.c CSRCS += mmapio.c
endif endif

Просмотреть файл

@ -310,7 +310,7 @@ static REGFILE* vr_findRegFile(char *filename)
pReg = RegList; pReg = RegList;
while( pReg != NULL ) { while( pReg != NULL ) {
#ifdef XP_UNIX #if defined XP_UNIX || defined XP_BEOS
if ( 0 == XP_STRCMP( filename, pReg->filename ) ) { if ( 0 == XP_STRCMP( filename, pReg->filename ) ) {
#else #else
if ( 0 == XP_STRCASECMP( filename, pReg->filename ) ) { if ( 0 == XP_STRCASECMP( filename, pReg->filename ) ) {