aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2004-05-22 17:41:58 +0000
committerdrh <drh@noemail.net>2004-05-22 17:41:58 +0000
commitbbd42a6dda2d0b579d22b846c79a765ebc80bec9 (patch)
tree9d2cebb557e78c0ce35797d8f49bcca798039058 /src/main.c
parent60ca804396e6e94323f6293d2796f856dc6acba6 (diff)
downloadsqlite-bbd42a6dda2d0b579d22b846c79a765ebc80bec9.tar.gz
sqlite-bbd42a6dda2d0b579d22b846c79a765ebc80bec9.zip
Split up os.c into separate files, one for each platform. (CVS 1441)
FossilOrigin-Name: 5c61be1c47ac960fba2a642e69a98436ce1cd725
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index fefb1f43e..09883aa04 100644
--- a/src/main.c
+++ b/src/main.c
@@ -14,7 +14,7 @@
** other files are for internal use by SQLite and should not be
** accessed by users of the library.
**
-** $Id: main.c,v 1.184 2004/05/22 09:21:21 danielk1977 Exp $
+** $Id: main.c,v 1.185 2004/05/22 17:41:59 drh Exp $
*/
#include "sqliteInt.h"
#include "os.h"
@@ -30,6 +30,12 @@ typedef struct {
} InitData;
/*
+** The following constant value is used by the SQLITE3_BIGENDIAN and
+** SQLITE3_LITTLEENDIAN macros.
+*/
+const int sqlite3one = 1;
+
+/*
** Fill the InitData structure with an error message that indicates
** that the database is corrupt.
*/
@@ -1335,4 +1341,3 @@ int sqlite3_reset_new(sqlite3_stmt *pStmt){
sqlite3VdbeMakeReady((Vdbe*)pStmt, -1, 0);
return rc;
}
-