diff options
Diffstat (limited to 'src/test_multiplex.c')
-rw-r--r-- | src/test_multiplex.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test_multiplex.c b/src/test_multiplex.c index 45f731036..eceb8d74a 100644 --- a/src/test_multiplex.c +++ b/src/test_multiplex.c @@ -511,7 +511,11 @@ static int multiplexOpen( ** falls at the end of a chunk. A region of up to 64K following ** the pending byte is never written, so if the pending byte occurs ** near the end of a chunk, that chunk will be too small. */ +#ifndef SQLITE_OMIT_WSD extern int sqlite3PendingByte; +#else + int sqlite3PendingByte = 0x40000000; +#endif while( (sqlite3PendingByte % pGroup->szChunk)>=(pGroup->szChunk-65536) ){ pGroup->szChunk += 65536; } |