Make malloc_usable_size() go away with CFLAGS.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4766 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
2b7077ca70
commit
24e418344e
@ -522,6 +522,12 @@ $(QUICKJS_OBJS): CFLAGS += \
|
|||||||
-Wno-unused-variable
|
-Wno-unused-variable
|
||||||
$(NONANDROID_TARGETS): CFLAGS += -DDUMP_LEAKS
|
$(NONANDROID_TARGETS): CFLAGS += -DDUMP_LEAKS
|
||||||
|
|
||||||
|
ifeq ($(UNAME_S),Haiku)
|
||||||
|
$(QUICKJS_OBJS): CFLAGS += "-Dmalloc_usable_size(x)=0"
|
||||||
|
else ifeq ($(UNAME_S),OpenBSD)
|
||||||
|
$(QUICKJS_OBJS): CFLAGS += "-Dmalloc_usable_size(x)=0"
|
||||||
|
endif
|
||||||
|
|
||||||
LIBBACKTRACE_SOURCES := \
|
LIBBACKTRACE_SOURCES := \
|
||||||
deps/libbacktrace/atomic.c \
|
deps/libbacktrace/atomic.c \
|
||||||
deps/libbacktrace/backtrace.c \
|
deps/libbacktrace/backtrace.c \
|
||||||
|
Loading…
Reference in New Issue
Block a user