Bug 666420 - Upgrade to SQLite 3.7.7.1 - Force using fsync on Android.

r=sdwilsh
This commit is contained in:
Marco Bonardo 2011-08-26 13:43:45 +02:00
parent f95262f2dd
commit df5067c405

View File

@ -133,6 +133,8 @@ endif
ifeq ($(OS_TARGET),Android) ifeq ($(OS_TARGET),Android)
# default to user readable only to fit Android security model # default to user readable only to fit Android security model
DEFINES += -DSQLITE_DEFAULT_FILE_PERMISSIONS=0600 DEFINES += -DSQLITE_DEFAULT_FILE_PERMISSIONS=0600
# Force using fsync, since there is not fdatasync in ndk 5.
DEFINES += -Dfdatasync=fsync
endif endif
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk