aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api
diff options
context:
space:
mode:
Diffstat (limited to 'ext/wasm/api')
-rw-r--r--ext/wasm/api/sqlite3-wasm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/wasm/api/sqlite3-wasm.c b/ext/wasm/api/sqlite3-wasm.c
index 1c46b0ec0..945acd23d 100644
--- a/ext/wasm/api/sqlite3-wasm.c
+++ b/ext/wasm/api/sqlite3-wasm.c
@@ -127,6 +127,10 @@
# define SQLITE_USE_URI 1
#endif
+#ifndef SQLITE_USE_LONG_DOUBLE
+# define SQLITE_USE_LONG_DOUBLE 0
+#endif
+
#ifdef SQLITE_WASM_EXTRA_INIT
# define SQLITE_EXTRA_INIT sqlite3_wasm_extra_init
#endif
@@ -159,6 +163,8 @@
# define SQLITE_OMIT_PROGRESS_CALLBACK
# undef SQLITE_OMIT_WAL
# define SQLITE_OMIT_WAL
+# undef SQLITE_USE_LONG_DOUBLE
+# define SQLITE_USE_LONG_DOUBLE 0
/*
The following OMITs do not work with the standard amalgamation, so
require a custom build: