aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2007-08-27 23:26:59 +0000
committerdrh <drh@noemail.net>2007-08-27 23:26:59 +0000
commit46c99e0f5d0191c8e1a80be52a3f26f3ba96e0d6 (patch)
tree71e5d68e584fa4810451fffb5c41426e860351b2 /src/sqliteInt.h
parent97c8ec325de75d363cc989b4ad1433d33c11f7a8 (diff)
downloadsqlite-46c99e0f5d0191c8e1a80be52a3f26f3ba96e0d6.tar.gz
sqlite-46c99e0f5d0191c8e1a80be52a3f26f3ba96e0d6.zip
Work around problem with forward declarations of constants in MSVC
in the amalgamation. Ticket #2574. (CVS 4304) FossilOrigin-Name: dc80b2e1f4e1d31479aad9f39e651e62f2601fb8
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 86951a31c..1ebc23825 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -11,7 +11,7 @@
*************************************************************************
** Internal interface definitions for SQLite.
**
-** @(#) $Id: sqliteInt.h,v 1.601 2007/08/27 21:49:34 drh Exp $
+** @(#) $Id: sqliteInt.h,v 1.602 2007/08/27 23:26:59 drh Exp $
*/
#ifndef _SQLITEINT_H_
#define _SQLITEINT_H_
@@ -198,7 +198,11 @@ typedef UINT8_TYPE i8; /* 1-byte signed integer */
** Macros to determine whether the machine is big or little endian,
** evaluated at runtime.
*/
+#ifdef SQLITE_AMALGAMATION
+const int sqlite3One;
+#else
extern const int sqlite3one;
+#endif
#if defined(i386) || defined(__i386__) || defined(_M_IX86)
# define SQLITE_BIGENDIAN 0
# define SQLITE_LITTLEENDIAN 1
@@ -1756,7 +1760,9 @@ sqlite3_value *sqlite3ValueNew(sqlite3 *);
char *sqlite3Utf16to8(sqlite3 *, const void*, int);
int sqlite3ValueFromExpr(sqlite3 *, Expr *, u8, u8, sqlite3_value **);
void sqlite3ValueApplyAffinity(sqlite3_value *, u8, u8);
+#ifndef SQLITE_AMALGAMATION
extern const unsigned char sqlite3UpperToLower[];
+#endif
void sqlite3RootPageMoved(Db*, int, int);
void sqlite3Reindex(Parse*, Token*, Token*);
void sqlite3AlterFunctions(sqlite3*);