diff options
Diffstat (limited to 'third_party/sqlite/src/os_win.c')
-rw-r--r-- | third_party/sqlite/src/os_win.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/sqlite/src/os_win.c b/third_party/sqlite/src/os_win.c index ec30add..f5baabb 100644 --- a/third_party/sqlite/src/os_win.c +++ b/third_party/sqlite/src/os_win.c @@ -1635,4 +1635,11 @@ int sqlite3_os_end(void){ return SQLITE_OK; } +void chromium_sqlite3_initialize_win_sqlite3_file(sqlite3_file* file, HANDLE handle) { + winFile* winSQLite3File = (winFile*)file; + memset(file, 0, sizeof(*file)); + winSQLite3File->pMethod = &winIoMethod; + winSQLite3File->h = handle; +} + #endif /* SQLITE_OS_WIN */ |