зеркало из https://github.com/mozilla/gecko-dev.git
BeOS doesn't have mmap. Also, BeOS is case sensitive like Unix.
This commit is contained in:
Родитель
8fd31a2323
Коммит
1ac1783815
|
@ -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 ) ) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче