fix compilation error

This commit is contained in:
Simon Morlat 2016-05-20 12:05:14 +02:00
parent 8a25d2f703
commit 9ae188f4c7
2 changed files with 2 additions and 1 deletions

View file

@ -91,7 +91,6 @@ liblinphone_la_SOURCES=\
sal.c \
siplogin.c \
sipsetup.c \
sqlite3_bctbx_vfs.c \
xml2lpc.c \
xml.c \
xmlrpc.c \

View file

@ -157,7 +157,9 @@ static int sqlite3bctbx_DeviceCharacteristics(sqlite3_file *p){
* @return SQLITE_OK on success, SALITE_NOTFOUND otherwise.
*/
static int sqlite3bctbx_FileControl(sqlite3_file *p, int op, void *pArg){
#ifdef SQLITE_FCNTL_MMAP_SIZE
if (op == SQLITE_FCNTL_MMAP_SIZE) return SQLITE_OK;
#endif
return SQLITE_NOTFOUND;
}