github.com/ncruces/go-sqlite3@v0.15.1-0.20240520133447-53eef1510ff0/sqlite3/sqlite_cfg.h (about) 1 #include <time.h> 2 3 // Platform Configuration 4 5 #define SQLITE_OS_OTHER 1 6 #define SQLITE_BYTEORDER 1234 7 8 #define HAVE_INT8_T 1 9 #define HAVE_INT16_T 1 10 #define HAVE_INT32_T 1 11 #define HAVE_INT64_T 1 12 #define HAVE_INTPTR_T 1 13 #define HAVE_UINT8_T 1 14 #define HAVE_UINT16_T 1 15 #define HAVE_UINT32_T 1 16 #define HAVE_UINT64_T 1 17 #define HAVE_UINTPTR_T 1 18 #define HAVE_STDINT_H 1 19 #define HAVE_INTTYPES_H 1 20 21 #define HAVE_LOG2 1 22 #define HAVE_LOG10 1 23 #define HAVE_ISNAN 1 24 25 #define HAVE_STRCHRNUL 1 26 27 #define HAVE_USLEEP 1 28 #define HAVE_NANOSLEEP 1 29 30 #define HAVE_GMTIME_R 1 31 #define HAVE_LOCALTIME_S 1 32 33 #define HAVE_MALLOC_H 1 34 #define HAVE_MALLOC_USABLE_SIZE 1 35 36 // Because Wasm does not support shared memory, 37 // SQLite disables WAL for Wasm builds. 38 #undef SQLITE_OMIT_WAL 39 40 // Implemented in vfs.c. 41 int localtime_s(struct tm *const pTm, time_t const *const pTime); 42 43 // Implemented in hooks.c. 44 #ifndef sqliteBusyCallback 45 static int sqliteBusyCallback(sqlite3 *, int); 46 #endif