Fossil SCM

Use "sqlite3_int64" instead of "long long int" for compatibility with compilers that do not support long long.

drh 2011-02-28 23:50 trunk
Commit e0073f431c030e66988a88056003d1e09edff959
1 file changed +1 -1
+1 -1
--- src/main.c
+++ src/main.c
@@ -52,11 +52,11 @@
5252
int isConst; /* True if the output is unchanging */
5353
sqlite3 *db; /* The connection to the databases */
5454
sqlite3 *dbConfig; /* Separate connection for global_config table */
5555
int useAttach; /* True if global_config is attached to repository */
5656
int configOpen; /* True if the config database is open */
57
- long long int now; /* Seconds since 1970 */
57
+ sqlite3_int64 now; /* Seconds since 1970 */
5858
int repositoryOpen; /* True if the main repository database is open */
5959
char *zRepositoryName; /* Name of the repository database */
6060
const char *zMainDbType;/* "configdb", "localdb", or "repository" */
6161
const char *zHome; /* Name of user home directory */
6262
int localOpen; /* True if the local database is open */
6363
--- src/main.c
+++ src/main.c
@@ -52,11 +52,11 @@
52 int isConst; /* True if the output is unchanging */
53 sqlite3 *db; /* The connection to the databases */
54 sqlite3 *dbConfig; /* Separate connection for global_config table */
55 int useAttach; /* True if global_config is attached to repository */
56 int configOpen; /* True if the config database is open */
57 long long int now; /* Seconds since 1970 */
58 int repositoryOpen; /* True if the main repository database is open */
59 char *zRepositoryName; /* Name of the repository database */
60 const char *zMainDbType;/* "configdb", "localdb", or "repository" */
61 const char *zHome; /* Name of user home directory */
62 int localOpen; /* True if the local database is open */
63
--- src/main.c
+++ src/main.c
@@ -52,11 +52,11 @@
52 int isConst; /* True if the output is unchanging */
53 sqlite3 *db; /* The connection to the databases */
54 sqlite3 *dbConfig; /* Separate connection for global_config table */
55 int useAttach; /* True if global_config is attached to repository */
56 int configOpen; /* True if the config database is open */
57 sqlite3_int64 now; /* Seconds since 1970 */
58 int repositoryOpen; /* True if the main repository database is open */
59 char *zRepositoryName; /* Name of the repository database */
60 const char *zMainDbType;/* "configdb", "localdb", or "repository" */
61 const char *zHome; /* Name of user home directory */
62 int localOpen; /* True if the local database is open */
63

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button