From 1ac17838159de6fdd53875ebefc7c26009dfd464 Mon Sep 17 00:00:00 2001 From: "duncan%be.com" Date: Fri, 10 Sep 1999 22:35:58 +0000 Subject: [PATCH] BeOS doesn't have mmap. Also, BeOS is case sensitive like Unix. --- modules/libreg/src/Makefile.in | 4 ++-- modules/libreg/src/reg.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/libreg/src/Makefile.in b/modules/libreg/src/Makefile.in index f6176d688811..1242ccef66a0 100644 --- a/modules/libreg/src/Makefile.in +++ b/modules/libreg/src/Makefile.in @@ -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 diff --git a/modules/libreg/src/reg.c b/modules/libreg/src/reg.c index 09ac23f2f7f3..e29cba57c61d 100644 --- a/modules/libreg/src/reg.c +++ b/modules/libreg/src/reg.c @@ -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 ) ) {