aboutsummaryrefslogtreecommitdiff
path: root/src/test_autoext.c
diff options
context:
space:
mode:
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.
*/