forked from cory/tildefriends
		
	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:
		@@ -522,6 +522,12 @@ $(QUICKJS_OBJS): CFLAGS += \
 | 
			
		||||
	-Wno-unused-variable
 | 
			
		||||
$(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 := \
 | 
			
		||||
	deps/libbacktrace/atomic.c \
 | 
			
		||||
	deps/libbacktrace/backtrace.c \
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user