diff options
author | drh <> | 2021-11-18 20:56:59 +0000 |
---|---|---|
committer | drh <> | 2021-11-18 20:56:59 +0000 |
commit | 5e90794b67e8c683d6b4c7175240dcfd4379829e (patch) | |
tree | c6914e3df8cb10b131792b605e8d8a277e14dc0e /src/tclsqlite.c | |
parent | 826ec6013c1aebb4bbc2f01edbc89f6830cc5feb (diff) | |
download | sqlite-5e90794b67e8c683d6b4c7175240dcfd4379829e.tar.gz sqlite-5e90794b67e8c683d6b4c7175240dcfd4379829e.zip |
Minor tweaks to the way auxiliary tools are built, to make it easier to
customize the builds without having to alter the code.
FossilOrigin-Name: 90b06b6f42918852cfb15258be462c6bed260c6a618b86fa9084bac72fa2f58f
Diffstat (limited to 'src/tclsqlite.c')
-rw-r--r-- | src/tclsqlite.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tclsqlite.c b/src/tclsqlite.c index b9b78b42b..193494484 100644 --- a/src/tclsqlite.c +++ b/src/tclsqlite.c @@ -3975,7 +3975,9 @@ static const char *tclsh_main_loop(void){ return zMainloop; } -#define TCLSH_MAIN main /* Needed to fake out mktclapp */ +#ifndef TCLSH_MAIN +# define TCLSH_MAIN main +#endif int SQLITE_CDECL TCLSH_MAIN(int argc, char **argv){ Tcl_Interp *interp; int i; |