mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 03:58:08 +00:00
Fix SQLite3 vas on windows.
This commit is contained in:
parent
b08cdb2212
commit
fca10a6943
1 changed files with 4 additions and 1 deletions
|
|
@ -303,8 +303,11 @@ sqlite3_vfs *sqlite3_bctbx_vfs_create(void){
|
|||
|
||||
void sqlite3_bctbx_vfs_register( int makeDefault){
|
||||
sqlite3_vfs* pVfsToUse = sqlite3_bctbx_vfs_create();
|
||||
#if _WIN32
|
||||
sqlite3_vfs* pDefault = sqlite3_vfs_find("win32");
|
||||
#else
|
||||
sqlite3_vfs* pDefault = sqlite3_vfs_find("unix-none");
|
||||
|
||||
#endif
|
||||
pVfsToUse->xAccess = pDefault->xAccess;
|
||||
pVfsToUse->xCurrentTime = pDefault->xCurrentTime;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue