aboutsummaryrefslogtreecommitdiff
path: root/src/test_autoext.c
diff options
context:
space:
mode:
authormlcreech <mlcreech@noemail.net>2008-03-19 23:52:34 +0000
committermlcreech <mlcreech@noemail.net>2008-03-19 23:52:34 +0000
commit9323f76141f86e4c51f18af26bd29a564bbf5ec9 (patch)
tree3b06b64bc8c2ee8f2191e6ed40e931f969f33977 /src/test_autoext.c
parent88ef0908b5ff4879d594236a96d7eab0c02c3a2f (diff)
downloadsqlite-9323f76141f86e4c51f18af26bd29a564bbf5ec9.tar.gz
sqlite-9323f76141f86e4c51f18af26bd29a564bbf5ec9.zip
Fix build whether compiling with or without auto-extension enabled (CVS 4891)
FossilOrigin-Name: 7b9682c65f545b09d410173cf282f7c4f4438097
Diffstat (limited to 'src/test_autoext.c')
-rw-r--r--src/test_autoext.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/test_autoext.c b/src/test_autoext.c
index d6ff10d61..6c5b98370 100644
--- a/src/test_autoext.c
+++ b/src/test_autoext.c
@@ -11,11 +11,12 @@
*************************************************************************
** Test extension for testing the sqlite3_auto_extension() function.
**
-** $Id: test_autoext.c,v 1.3 2008/03/19 16:08:54 drh Exp $
+** $Id: test_autoext.c,v 1.4 2008/03/19 23:52:35 mlcreech Exp $
*/
#include "tcl.h"
-#ifndef SQLITE_OMIT_LOAD_EXTENSION
#include "sqlite3ext.h"
+
+#ifndef SQLITE_OMIT_LOAD_EXTENSION
static SQLITE_EXTENSION_INIT1
/*
@@ -128,6 +129,9 @@ static int autoExtBrokenObjCmd(
return SQLITE_OK;
}
+#endif /* SQLITE_OMIT_LOAD_EXTENSION */
+
+
/*
** tclcmd: sqlite3_reset_auto_extension
**
@@ -144,8 +148,6 @@ static int resetAutoExtObjCmd(
}
-#endif /* SQLITE_OMIT_LOAD_EXTENSION */
-
/*
** This procedure registers the TCL procs defined in this file.
*/