Added fake stdin/stdout/stderr streams, to prevent crashes on some tablets

This commit is contained in:
pelya
2011-01-25 14:29:23 +00:00
parent 71cf9fb2f2
commit b337e649b9
16 changed files with 55 additions and 16 deletions

View File

@@ -4,7 +4,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := xml2
LOCAL_CFLAGS := -Os -I$(LOCAL_PATH) -I$(LOCAL_PATH)/include
LOCAL_CFLAGS := -Os -I$(LOCAL_PATH) -I$(LOCAL_PATH)/include -D__sF=__SDL_fake_stdout
LOCAL_CPP_EXTENSION := .cpp
@@ -20,7 +20,7 @@ LOCAL_SRC_FILES := \
triostr.c trio.c trionan.c
LOCAL_SHARED_LIBRARIES :=
LOCAL_SHARED_LIBRARIES := sdl-$(SDL_VERSION)
LOCAL_STATIC_LIBRARIES :=
LOCAL_LDLIBS := -lz -ldl