Skip to content

Commit 9e22d9c

Browse files
Jean-Baptiste Queruandroid code review
authored andcommitted
Merge "Fix "Too many open files" error for aapt built with Mac OS X SDK 10.6."
2 parents 36ac43b + 41bdb03 commit 9e22d9c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/aapt/Android.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ LOCAL_SRC_FILES := \
2929

3030

3131
LOCAL_CFLAGS += -Wno-format-y2k
32+
ifeq (darwin,$(HOST_OS))
33+
LOCAL_CFLAGS += -D_DARWIN_UNLIMITED_STREAMS
34+
endif
35+
3236

3337
LOCAL_C_INCLUDES += external/expat/lib
3438
LOCAL_C_INCLUDES += external/libpng

0 commit comments

Comments
 (0)