1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-10 01:02:56 +03:00

Fix the amalgamation so that it works with -DSQLITE_ENABLE_REDEF_IO. Change

tclsqlite.c so that it can be appended to the amalgamation.  Create a new
amalgamation of header files for use by projects that want to redefine their
own I/O interface using -DSQLITE_ENABLE_REDEF_IO. (CVS 3817)

FossilOrigin-Name: f2caff870c81c08ec85aae72986c231ee986b251
This commit is contained in:
drh
2007-04-05 21:58:33 +00:00
parent 93d57531f7
commit bd08af4871
8 changed files with 181 additions and 25 deletions

View File

@@ -447,9 +447,12 @@ struct sqlite3OsVtbl {
#endif
#ifdef _SQLITE_OS_C_
#if defined(_SQLITE_OS_C_) || defined(SQLITE_AMALGAMATION)
/*
** The os.c file implements the global virtual function table.
** We have to put this file here because the initializers
** (ex: sqlite3OsRandomSeed) are macros that are about to be
** redefined.
*/
struct sqlite3OsVtbl sqlite3Os = {
IF_DISKIO( sqlite3OsOpenReadWrite ),