Files
sqlite3/vfs/tests/mptest/wasm/main.c
Nuno Cruces c024121fd2 C tweaks.
2025-01-17 10:51:25 +00:00

19 lines
420 B
C

#include <unistd.h>
// Use the default call back, not the Go one we patched in.
#define sqliteBusyCallback sqliteDefaultBusyCallback
// Amalgamation
#include "sqlite3.c"
// VFS
#include "vfs.c"
__attribute__((constructor)) void init() { sqlite3_initialize(); }
// Ignore these.
#define sqlite3_enable_load_extension(...)
#define sqlite3_trace(...)
#define unlink(...) (0)
#undef UNUSED_PARAMETER
#include "mptest.c"