aboutsummaryrefslogtreecommitdiff
path: root/src/tclsqlite.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2008-12-10 22:18:39 +0000
committerdrh <drh@noemail.net>2008-12-10 22:18:39 +0000
commit0e4deca3e1fb7e753c0abbe05df78f6f577947ec (patch)
tree09874a2d5792bce6cc83952fe7f5adba3170b42f /src/tclsqlite.c
parent4f21c4af30e57d39c5d7873dcab80cb35ee8ab39 (diff)
downloadsqlite-0e4deca3e1fb7e753c0abbe05df78f6f577947ec.tar.gz
sqlite-0e4deca3e1fb7e753c0abbe05df78f6f577947ec.zip
The strlen30 function in tclsqlite.c should be defined regardless of whether
or not the amalgamation is used. (CVS 6012) FossilOrigin-Name: d8e8c7e51c09dc4e4d7e45ba1866c78713d6f5aa
Diffstat (limited to 'src/tclsqlite.c')
-rw-r--r--src/tclsqlite.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tclsqlite.c b/src/tclsqlite.c
index b9b349107..5541b0c76 100644
--- a/src/tclsqlite.c
+++ b/src/tclsqlite.c
@@ -12,7 +12,7 @@
** A TCL Interface to SQLite. Append this file to sqlite3.c and
** compile the whole thing to build a TCL-enabled version of SQLite.
**
-** $Id: tclsqlite.c,v 1.230 2008/12/10 22:15:00 drh Exp $
+** $Id: tclsqlite.c,v 1.231 2008/12/10 22:18:40 drh Exp $
*/
#include "tcl.h"
#include <errno.h>
@@ -129,7 +129,6 @@ struct IncrblobChannel {
IncrblobChannel *pPrev; /* Linked list of all open incrblob channels */
};
-#ifndef SQLITE_AMALGAMATION
/*
** Compute a string length that is limited to what can be stored in
** lower 30 bits of a 32-bit signed integer.
@@ -139,7 +138,6 @@ static int strlen30(const char *z){
while( *z2 ){ z2++; }
return 0x3fffffff & (int)(z2 - z);
}
-#endif
#ifndef SQLITE_OMIT_INCRBLOB