Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/wapython
Path: blob/main/core/sqlite/src/patches/01-shell.patch
1067 views
1
--- native/src/shell.c.in 2022-09-05 04:02:23.000000000 -0700
2
+++ wasm/src/shell.c.in 2022-10-17 19:19:08.000000000 -0700
3
@@ -234,7 +234,8 @@
4
** WebAssembly (WASM) bundle and need to disable and rewire a few
5
** things.
6
*/
7
-#ifdef __EMSCRIPTEN__
8
+// NO: for CoWasm we are disabling this *toy* sqlite shell mode.
9
+#ifdef __DISABLED_EMSCRIPTEN__
10
#define SQLITE_SHELL_WASM_MODE
11
#else
12
#undef SQLITE_SHELL_WASM_MODE
13
14