mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 15:55:16 +00:00
Bug 719579 - Force SQLite to use malloc_usable_size when jemalloc is used.
r=sdwilsh
This commit is contained in:
parent
4db2555644
commit
56eeeebc8e
@ -145,6 +145,14 @@ ifeq ($(OS_TARGET),Android)
|
||||
DEFINES += -DSQLITE_DEFAULT_FILE_PERMISSIONS=0600
|
||||
endif
|
||||
|
||||
# Force using malloc_usable_size when building with jemalloc because _msize
|
||||
# causes assertions on Win64. See bug 719579.
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
ifdef MOZ_MEMORY
|
||||
DEFINES += -DHAVE_MALLOC_USABLE_SIZE
|
||||
endif
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
# next line allows use of MOZ_OBJDIR in .mozconfig with older gcc on BeOS, maybe others
|
||||
|
Loading…
x
Reference in New Issue
Block a user