1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Split up os.c into separate files, one for each platform. (CVS 1441)

FossilOrigin-Name: 5c61be1c47ac960fba2a642e69a98436ce1cd725
This commit is contained in:
drh
2004-05-22 17:41:58 +00:00
parent 60ca804396
commit bbd42a6dda
14 changed files with 1822 additions and 1242 deletions

View File

@@ -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"
@@ -29,6 +29,12 @@ typedef struct {
char **pzErrMsg; /* Error message stored here */
} 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;
}