Added fake cin/cout/cerr to prevent application crashing on tablets

This commit is contained in:
pelya
2011-02-04 14:47:18 +00:00
parent 604c5e4b1d
commit e07c5cfd14
9 changed files with 111 additions and 30 deletions

View File

@@ -25,7 +25,7 @@ LOCAL_C_INCLUDES += $(foreach D, $(APP_SUBDIRS), $(LOCAL_PATH)/$(D)) \
$(LOCAL_PATH)/../sdl-$(SDL_VERSION)/include \
$(foreach L, $(COMPILED_LIBRARIES), $(LOCAL_PATH)/../$(L)/include)
LOCAL_CFLAGS += -D__sF=__SDL_fake_stdout
LOCAL_CFLAGS += -D__sF=__SDL_fake_stdout -Dcout=__SDL_fake_cout -Dcerr=__SDL_fake_cerr -Dclog=__SDL_fake_clog
LOCAL_CFLAGS += $(APPLICATION_ADDITIONAL_CFLAGS)