aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-11-20 15:30:42 +0000
committerstephan <stephan@noemail.net>2022-11-20 15:30:42 +0000
commit5aa5463e759df21fe9763cdf96b831e6e14a76cf (patch)
treeaa95c61a1ad7e8fd91155bd0b7de4a194ecde82e /src
parentcedc3eee7093e6f57fdcfbf7d41b11236155e74f (diff)
downloadsqlite-5aa5463e759df21fe9763cdf96b831e6e14a76cf.tar.gz
sqlite-5aa5463e759df21fe9763cdf96b831e6e14a76cf.zip
Remove check for WASM_WASI macro when detecting wasi compilation mode, as that macro is project-specific. Rely only on __wasi__ (exposed by clang) to detect wasi compilation mode.
FossilOrigin-Name: d469ac0c448eced26a697751ce9be316e8bc3cd029fda2b50966523c7850854f
Diffstat (limited to 'src')
-rw-r--r--src/sqlite.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqlite.h.in b/src/sqlite.h.in
index 29ef14c0f..963e75695 100644
--- a/src/sqlite.h.in
+++ b/src/sqlite.h.in
@@ -10472,7 +10472,7 @@ int sqlite3_deserialize(
# undef double
#endif
-#if defined(__wasi__) || defined(WASM_WASI)
+#if defined(__wasi__)
# undef SQLITE_WASI
# define SQLITE_WASI 1
# undef SQLITE_OMIT_WAL