Fossil SCM
Make sure that EVERY source file includes "config.h" before any other system includes. This is the first step in making fossil compile for Win64 using MinGW.
Commit
c30cd93b918f8557bfc4cb758efc945db750f73f
Parent
cb29ef2a1e8b7cc…
20 files changed
+1
-1
+1
+1
-1
+1
-1
+2
+1
+1
-1
+1
-1
+1
-1
+1
-1
+1
-1
+1
-1
+1
-1
+1
-1
+1
-1
+1
-1
+1
-1
+2
-2
+2
-2
+2
~
src/captcha.c
~
src/delta.c
~
src/event.c
~
src/gzip.c
~
src/makemake.tcl
~
src/md5.c
~
src/setup.c
~
src/sha1.c
~
src/skins.c
~
src/stat.c
~
src/tar.c
~
src/th.c
~
src/timeline.c
~
src/wiki.c
~
src/wikiformat.c
~
src/wysiwyg.c
~
src/zip.c
~
win/Makefile.mingw
~
win/Makefile.mingw.mistachkin
~
win/fossil.rc
+1
-1
| --- src/captcha.c | ||
| +++ src/captcha.c | ||
| @@ -17,12 +17,12 @@ | ||
| 17 | 17 | ** |
| 18 | 18 | ** This file contains code to a simple text-based CAPTCHA. Though easily |
| 19 | 19 | ** defeated by a sophisticated attacker, this CAPTCHA does at least make |
| 20 | 20 | ** scripting attacks more difficult. |
| 21 | 21 | */ |
| 22 | -#include <assert.h> | |
| 23 | 22 | #include "config.h" |
| 23 | +#include <assert.h> | |
| 24 | 24 | #include "captcha.h" |
| 25 | 25 | |
| 26 | 26 | #if INTERFACE |
| 27 | 27 | #define CAPTCHA 3 /* Which captcha rendering to use */ |
| 28 | 28 | #endif |
| 29 | 29 |
| --- src/captcha.c | |
| +++ src/captcha.c | |
| @@ -17,12 +17,12 @@ | |
| 17 | ** |
| 18 | ** This file contains code to a simple text-based CAPTCHA. Though easily |
| 19 | ** defeated by a sophisticated attacker, this CAPTCHA does at least make |
| 20 | ** scripting attacks more difficult. |
| 21 | */ |
| 22 | #include <assert.h> |
| 23 | #include "config.h" |
| 24 | #include "captcha.h" |
| 25 | |
| 26 | #if INTERFACE |
| 27 | #define CAPTCHA 3 /* Which captcha rendering to use */ |
| 28 | #endif |
| 29 |
| --- src/captcha.c | |
| +++ src/captcha.c | |
| @@ -17,12 +17,12 @@ | |
| 17 | ** |
| 18 | ** This file contains code to a simple text-based CAPTCHA. Though easily |
| 19 | ** defeated by a sophisticated attacker, this CAPTCHA does at least make |
| 20 | ** scripting attacks more difficult. |
| 21 | */ |
| 22 | #include "config.h" |
| 23 | #include <assert.h> |
| 24 | #include "captcha.h" |
| 25 | |
| 26 | #if INTERFACE |
| 27 | #define CAPTCHA 3 /* Which captcha rendering to use */ |
| 28 | #endif |
| 29 |
+1
| --- src/delta.c | ||
| +++ src/delta.c | ||
| @@ -20,10 +20,11 @@ | ||
| 20 | 20 | ** Though developed specifically for fossil, the code in this file |
| 21 | 21 | ** is generally applicable and is thus easily separated from the |
| 22 | 22 | ** fossil source code base. Nothing in this file depends on anything |
| 23 | 23 | ** else in fossil. |
| 24 | 24 | */ |
| 25 | +#include "config.h" | |
| 25 | 26 | #include <stdio.h> |
| 26 | 27 | #include <assert.h> |
| 27 | 28 | #include <stdlib.h> |
| 28 | 29 | #include <string.h> |
| 29 | 30 | #include "delta.h" |
| 30 | 31 |
| --- src/delta.c | |
| +++ src/delta.c | |
| @@ -20,10 +20,11 @@ | |
| 20 | ** Though developed specifically for fossil, the code in this file |
| 21 | ** is generally applicable and is thus easily separated from the |
| 22 | ** fossil source code base. Nothing in this file depends on anything |
| 23 | ** else in fossil. |
| 24 | */ |
| 25 | #include <stdio.h> |
| 26 | #include <assert.h> |
| 27 | #include <stdlib.h> |
| 28 | #include <string.h> |
| 29 | #include "delta.h" |
| 30 |
| --- src/delta.c | |
| +++ src/delta.c | |
| @@ -20,10 +20,11 @@ | |
| 20 | ** Though developed specifically for fossil, the code in this file |
| 21 | ** is generally applicable and is thus easily separated from the |
| 22 | ** fossil source code base. Nothing in this file depends on anything |
| 23 | ** else in fossil. |
| 24 | */ |
| 25 | #include "config.h" |
| 26 | #include <stdio.h> |
| 27 | #include <assert.h> |
| 28 | #include <stdlib.h> |
| 29 | #include <string.h> |
| 30 | #include "delta.h" |
| 31 |
+1
-1
| --- src/event.c | ||
| +++ src/event.c | ||
| @@ -21,13 +21,13 @@ | ||
| 21 | 21 | ** Blog posts |
| 22 | 22 | ** New articles |
| 23 | 23 | ** Process checkpoints |
| 24 | 24 | ** Announcements |
| 25 | 25 | */ |
| 26 | +#include "config.h" | |
| 26 | 27 | #include <assert.h> |
| 27 | 28 | #include <ctype.h> |
| 28 | -#include "config.h" | |
| 29 | 29 | #include "event.h" |
| 30 | 30 | |
| 31 | 31 | /* |
| 32 | 32 | ** Output a hyperlink to an event given its tagid. |
| 33 | 33 | */ |
| 34 | 34 |
| --- src/event.c | |
| +++ src/event.c | |
| @@ -21,13 +21,13 @@ | |
| 21 | ** Blog posts |
| 22 | ** New articles |
| 23 | ** Process checkpoints |
| 24 | ** Announcements |
| 25 | */ |
| 26 | #include <assert.h> |
| 27 | #include <ctype.h> |
| 28 | #include "config.h" |
| 29 | #include "event.h" |
| 30 | |
| 31 | /* |
| 32 | ** Output a hyperlink to an event given its tagid. |
| 33 | */ |
| 34 |
| --- src/event.c | |
| +++ src/event.c | |
| @@ -21,13 +21,13 @@ | |
| 21 | ** Blog posts |
| 22 | ** New articles |
| 23 | ** Process checkpoints |
| 24 | ** Announcements |
| 25 | */ |
| 26 | #include "config.h" |
| 27 | #include <assert.h> |
| 28 | #include <ctype.h> |
| 29 | #include "event.h" |
| 30 | |
| 31 | /* |
| 32 | ** Output a hyperlink to an event given its tagid. |
| 33 | */ |
| 34 |
+1
-1
| --- src/gzip.c | ||
| +++ src/gzip.c | ||
| @@ -19,13 +19,13 @@ | ||
| 19 | 19 | ** file. The GZIP format is described in RFC-1952. |
| 20 | 20 | ** |
| 21 | 21 | ** State information is stored in static variables, so this implementation |
| 22 | 22 | ** can only be building up a single GZIP file at a time. |
| 23 | 23 | */ |
| 24 | +#include "config.h" | |
| 24 | 25 | #include <assert.h> |
| 25 | 26 | #include <zlib.h> |
| 26 | -#include "config.h" | |
| 27 | 27 | #include "gzip.h" |
| 28 | 28 | |
| 29 | 29 | /* |
| 30 | 30 | ** State information for the GZIP file under construction. |
| 31 | 31 | */ |
| 32 | 32 |
| --- src/gzip.c | |
| +++ src/gzip.c | |
| @@ -19,13 +19,13 @@ | |
| 19 | ** file. The GZIP format is described in RFC-1952. |
| 20 | ** |
| 21 | ** State information is stored in static variables, so this implementation |
| 22 | ** can only be building up a single GZIP file at a time. |
| 23 | */ |
| 24 | #include <assert.h> |
| 25 | #include <zlib.h> |
| 26 | #include "config.h" |
| 27 | #include "gzip.h" |
| 28 | |
| 29 | /* |
| 30 | ** State information for the GZIP file under construction. |
| 31 | */ |
| 32 |
| --- src/gzip.c | |
| +++ src/gzip.c | |
| @@ -19,13 +19,13 @@ | |
| 19 | ** file. The GZIP format is described in RFC-1952. |
| 20 | ** |
| 21 | ** State information is stored in static variables, so this implementation |
| 22 | ** can only be building up a single GZIP file at a time. |
| 23 | */ |
| 24 | #include "config.h" |
| 25 | #include <assert.h> |
| 26 | #include <zlib.h> |
| 27 | #include "gzip.h" |
| 28 | |
| 29 | /* |
| 30 | ** State information for the GZIP file under construction. |
| 31 | */ |
| 32 |
+2
| --- src/makemake.tcl | ||
| +++ src/makemake.tcl | ||
| @@ -771,10 +771,11 @@ | ||
| 771 | 771 | } |
| 772 | 772 | |
| 773 | 773 | |
| 774 | 774 | writeln "\$(OBJDIR)/sqlite3.o:\t\$(SRCDIR)/sqlite3.c" |
| 775 | 775 | set opt $SQLITE_OPTIONS |
| 776 | +append opt " -D_HAVE_SQLITE_CONFIG_H" | |
| 776 | 777 | writeln "\t\$(XTCC) $opt -c \$(SRCDIR)/sqlite3.c -o \$(OBJDIR)/sqlite3.o\n" |
| 777 | 778 | |
| 778 | 779 | set opt {} |
| 779 | 780 | writeln "\$(OBJDIR)/cson_amalgamation.o:\t\$(SRCDIR)/cson_amalgamation.c" |
| 780 | 781 | writeln "\t\$(XTCC) $opt -c \$(SRCDIR)/cson_amalgamation.c -o \$(OBJDIR)/cson_amalgamation.o\n" |
| @@ -781,10 +782,11 @@ | ||
| 781 | 782 | writeln "\$(OBJDIR)/json.o \$(OBJDIR)/json_artifact.o \$(OBJDIR)/json_branch.o \$(OBJDIR)/json_config.o \$(OBJDIR)/json_diff.o \$(OBJDIR)/json_dir.o \$(OBJDIR)/jsos_finfo.o \$(OBJDIR)/json_login.o \$(OBJDIR)/json_query.o \$(OBJDIR)/json_report.o \$(OBJDIR)/json_status.o \$(OBJDIR)/json_tag.o \$(OBJDIR)/json_timeline.o \$(OBJDIR)/json_user.o \$(OBJDIR)/json_wiki.o : \$(SRCDIR)/json_detail.h\n" |
| 782 | 783 | |
| 783 | 784 | writeln "\$(OBJDIR)/shell.o:\t\$(SRCDIR)/shell.c \$(SRCDIR)/sqlite3.h" |
| 784 | 785 | set opt {-Dmain=sqlite3_shell} |
| 785 | 786 | append opt " -DSQLITE_OMIT_LOAD_EXTENSION=1" |
| 787 | +append opt " -D_HAVE_SQLITE_CONFIG_H" | |
| 786 | 788 | writeln "\t\$(XTCC) $opt -c \$(SRCDIR)/shell.c -o \$(OBJDIR)/shell.o\n" |
| 787 | 789 | |
| 788 | 790 | writeln "\$(OBJDIR)/th.o:\t\$(SRCDIR)/th.c" |
| 789 | 791 | writeln "\t\$(XTCC) -c \$(SRCDIR)/th.c -o \$(OBJDIR)/th.o\n" |
| 790 | 792 | |
| 791 | 793 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -771,10 +771,11 @@ | |
| 771 | } |
| 772 | |
| 773 | |
| 774 | writeln "\$(OBJDIR)/sqlite3.o:\t\$(SRCDIR)/sqlite3.c" |
| 775 | set opt $SQLITE_OPTIONS |
| 776 | writeln "\t\$(XTCC) $opt -c \$(SRCDIR)/sqlite3.c -o \$(OBJDIR)/sqlite3.o\n" |
| 777 | |
| 778 | set opt {} |
| 779 | writeln "\$(OBJDIR)/cson_amalgamation.o:\t\$(SRCDIR)/cson_amalgamation.c" |
| 780 | writeln "\t\$(XTCC) $opt -c \$(SRCDIR)/cson_amalgamation.c -o \$(OBJDIR)/cson_amalgamation.o\n" |
| @@ -781,10 +782,11 @@ | |
| 781 | writeln "\$(OBJDIR)/json.o \$(OBJDIR)/json_artifact.o \$(OBJDIR)/json_branch.o \$(OBJDIR)/json_config.o \$(OBJDIR)/json_diff.o \$(OBJDIR)/json_dir.o \$(OBJDIR)/jsos_finfo.o \$(OBJDIR)/json_login.o \$(OBJDIR)/json_query.o \$(OBJDIR)/json_report.o \$(OBJDIR)/json_status.o \$(OBJDIR)/json_tag.o \$(OBJDIR)/json_timeline.o \$(OBJDIR)/json_user.o \$(OBJDIR)/json_wiki.o : \$(SRCDIR)/json_detail.h\n" |
| 782 | |
| 783 | writeln "\$(OBJDIR)/shell.o:\t\$(SRCDIR)/shell.c \$(SRCDIR)/sqlite3.h" |
| 784 | set opt {-Dmain=sqlite3_shell} |
| 785 | append opt " -DSQLITE_OMIT_LOAD_EXTENSION=1" |
| 786 | writeln "\t\$(XTCC) $opt -c \$(SRCDIR)/shell.c -o \$(OBJDIR)/shell.o\n" |
| 787 | |
| 788 | writeln "\$(OBJDIR)/th.o:\t\$(SRCDIR)/th.c" |
| 789 | writeln "\t\$(XTCC) -c \$(SRCDIR)/th.c -o \$(OBJDIR)/th.o\n" |
| 790 | |
| 791 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -771,10 +771,11 @@ | |
| 771 | } |
| 772 | |
| 773 | |
| 774 | writeln "\$(OBJDIR)/sqlite3.o:\t\$(SRCDIR)/sqlite3.c" |
| 775 | set opt $SQLITE_OPTIONS |
| 776 | append opt " -D_HAVE_SQLITE_CONFIG_H" |
| 777 | writeln "\t\$(XTCC) $opt -c \$(SRCDIR)/sqlite3.c -o \$(OBJDIR)/sqlite3.o\n" |
| 778 | |
| 779 | set opt {} |
| 780 | writeln "\$(OBJDIR)/cson_amalgamation.o:\t\$(SRCDIR)/cson_amalgamation.c" |
| 781 | writeln "\t\$(XTCC) $opt -c \$(SRCDIR)/cson_amalgamation.c -o \$(OBJDIR)/cson_amalgamation.o\n" |
| @@ -781,10 +782,11 @@ | |
| 782 | writeln "\$(OBJDIR)/json.o \$(OBJDIR)/json_artifact.o \$(OBJDIR)/json_branch.o \$(OBJDIR)/json_config.o \$(OBJDIR)/json_diff.o \$(OBJDIR)/json_dir.o \$(OBJDIR)/jsos_finfo.o \$(OBJDIR)/json_login.o \$(OBJDIR)/json_query.o \$(OBJDIR)/json_report.o \$(OBJDIR)/json_status.o \$(OBJDIR)/json_tag.o \$(OBJDIR)/json_timeline.o \$(OBJDIR)/json_user.o \$(OBJDIR)/json_wiki.o : \$(SRCDIR)/json_detail.h\n" |
| 783 | |
| 784 | writeln "\$(OBJDIR)/shell.o:\t\$(SRCDIR)/shell.c \$(SRCDIR)/sqlite3.h" |
| 785 | set opt {-Dmain=sqlite3_shell} |
| 786 | append opt " -DSQLITE_OMIT_LOAD_EXTENSION=1" |
| 787 | append opt " -D_HAVE_SQLITE_CONFIG_H" |
| 788 | writeln "\t\$(XTCC) $opt -c \$(SRCDIR)/shell.c -o \$(OBJDIR)/shell.o\n" |
| 789 | |
| 790 | writeln "\$(OBJDIR)/th.o:\t\$(SRCDIR)/th.c" |
| 791 | writeln "\t\$(XTCC) -c \$(SRCDIR)/th.c -o \$(OBJDIR)/th.o\n" |
| 792 | |
| 793 |
+1
| --- src/md5.c | ||
| +++ src/md5.c | ||
| @@ -16,10 +16,11 @@ | ||
| 16 | 16 | * To compute the message digest of a chunk of bytes, declare an |
| 17 | 17 | * MD5Context structure, pass it to MD5Init, call MD5Update as |
| 18 | 18 | * needed on buffers full of bytes, and then call MD5Final, which |
| 19 | 19 | * will fill a supplied 16-byte array with the digest. |
| 20 | 20 | */ |
| 21 | +#include "config.h" | |
| 21 | 22 | #include <string.h> |
| 22 | 23 | #include <stdio.h> |
| 23 | 24 | #include <sqlite3.h> |
| 24 | 25 | #include "md5.h" |
| 25 | 26 | |
| 26 | 27 |
| --- src/md5.c | |
| +++ src/md5.c | |
| @@ -16,10 +16,11 @@ | |
| 16 | * To compute the message digest of a chunk of bytes, declare an |
| 17 | * MD5Context structure, pass it to MD5Init, call MD5Update as |
| 18 | * needed on buffers full of bytes, and then call MD5Final, which |
| 19 | * will fill a supplied 16-byte array with the digest. |
| 20 | */ |
| 21 | #include <string.h> |
| 22 | #include <stdio.h> |
| 23 | #include <sqlite3.h> |
| 24 | #include "md5.h" |
| 25 | |
| 26 |
| --- src/md5.c | |
| +++ src/md5.c | |
| @@ -16,10 +16,11 @@ | |
| 16 | * To compute the message digest of a chunk of bytes, declare an |
| 17 | * MD5Context structure, pass it to MD5Init, call MD5Update as |
| 18 | * needed on buffers full of bytes, and then call MD5Final, which |
| 19 | * will fill a supplied 16-byte array with the digest. |
| 20 | */ |
| 21 | #include "config.h" |
| 22 | #include <string.h> |
| 23 | #include <stdio.h> |
| 24 | #include <sqlite3.h> |
| 25 | #include "md5.h" |
| 26 | |
| 27 |
+1
-1
| --- src/setup.c | ||
| +++ src/setup.c | ||
| @@ -15,12 +15,12 @@ | ||
| 15 | 15 | ** |
| 16 | 16 | ******************************************************************************* |
| 17 | 17 | ** |
| 18 | 18 | ** Implementation of the Setup page |
| 19 | 19 | */ |
| 20 | -#include <assert.h> | |
| 21 | 20 | #include "config.h" |
| 21 | +#include <assert.h> | |
| 22 | 22 | #include "setup.h" |
| 23 | 23 | |
| 24 | 24 | /* |
| 25 | 25 | ** The table of web pages supported by this application is generated |
| 26 | 26 | ** automatically by the "mkindex" program and written into a file |
| 27 | 27 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -15,12 +15,12 @@ | |
| 15 | ** |
| 16 | ******************************************************************************* |
| 17 | ** |
| 18 | ** Implementation of the Setup page |
| 19 | */ |
| 20 | #include <assert.h> |
| 21 | #include "config.h" |
| 22 | #include "setup.h" |
| 23 | |
| 24 | /* |
| 25 | ** The table of web pages supported by this application is generated |
| 26 | ** automatically by the "mkindex" program and written into a file |
| 27 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -15,12 +15,12 @@ | |
| 15 | ** |
| 16 | ******************************************************************************* |
| 17 | ** |
| 18 | ** Implementation of the Setup page |
| 19 | */ |
| 20 | #include "config.h" |
| 21 | #include <assert.h> |
| 22 | #include "setup.h" |
| 23 | |
| 24 | /* |
| 25 | ** The table of web pages supported by this application is generated |
| 26 | ** automatically by the "mkindex" program and written into a file |
| 27 |
+1
-1
| --- src/sha1.c | ||
| +++ src/sha1.c | ||
| @@ -1,10 +1,10 @@ | ||
| 1 | 1 | /* |
| 2 | 2 | ** This implementation of SHA1. |
| 3 | 3 | */ |
| 4 | -#include <sys/types.h> | |
| 5 | 4 | #include "config.h" |
| 5 | +#include <sys/types.h> | |
| 6 | 6 | #include "sha1.h" |
| 7 | 7 | |
| 8 | 8 | |
| 9 | 9 | /* |
| 10 | 10 | ** The SHA1 implementation below is adapted from: |
| 11 | 11 |
| --- src/sha1.c | |
| +++ src/sha1.c | |
| @@ -1,10 +1,10 @@ | |
| 1 | /* |
| 2 | ** This implementation of SHA1. |
| 3 | */ |
| 4 | #include <sys/types.h> |
| 5 | #include "config.h" |
| 6 | #include "sha1.h" |
| 7 | |
| 8 | |
| 9 | /* |
| 10 | ** The SHA1 implementation below is adapted from: |
| 11 |
| --- src/sha1.c | |
| +++ src/sha1.c | |
| @@ -1,10 +1,10 @@ | |
| 1 | /* |
| 2 | ** This implementation of SHA1. |
| 3 | */ |
| 4 | #include "config.h" |
| 5 | #include <sys/types.h> |
| 6 | #include "sha1.h" |
| 7 | |
| 8 | |
| 9 | /* |
| 10 | ** The SHA1 implementation below is adapted from: |
| 11 |
+1
-1
| --- src/skins.c | ||
| +++ src/skins.c | ||
| @@ -15,12 +15,12 @@ | ||
| 15 | 15 | ** |
| 16 | 16 | ******************************************************************************* |
| 17 | 17 | ** |
| 18 | 18 | ** Implementation of the Setup page for "skins". |
| 19 | 19 | */ |
| 20 | -#include <assert.h> | |
| 21 | 20 | #include "config.h" |
| 21 | +#include <assert.h> | |
| 22 | 22 | #include "skins.h" |
| 23 | 23 | |
| 24 | 24 | /* @-comment: ## */ |
| 25 | 25 | /* |
| 26 | 26 | ** A black-and-white theme with the project title in a bar across the top |
| 27 | 27 |
| --- src/skins.c | |
| +++ src/skins.c | |
| @@ -15,12 +15,12 @@ | |
| 15 | ** |
| 16 | ******************************************************************************* |
| 17 | ** |
| 18 | ** Implementation of the Setup page for "skins". |
| 19 | */ |
| 20 | #include <assert.h> |
| 21 | #include "config.h" |
| 22 | #include "skins.h" |
| 23 | |
| 24 | /* @-comment: ## */ |
| 25 | /* |
| 26 | ** A black-and-white theme with the project title in a bar across the top |
| 27 |
| --- src/skins.c | |
| +++ src/skins.c | |
| @@ -15,12 +15,12 @@ | |
| 15 | ** |
| 16 | ******************************************************************************* |
| 17 | ** |
| 18 | ** Implementation of the Setup page for "skins". |
| 19 | */ |
| 20 | #include "config.h" |
| 21 | #include <assert.h> |
| 22 | #include "skins.h" |
| 23 | |
| 24 | /* @-comment: ## */ |
| 25 | /* |
| 26 | ** A black-and-white theme with the project title in a bar across the top |
| 27 |
+1
-1
| --- src/stat.c | ||
| +++ src/stat.c | ||
| @@ -16,12 +16,12 @@ | ||
| 16 | 16 | ******************************************************************************* |
| 17 | 17 | ** |
| 18 | 18 | ** This file contains code to implement the stat web page |
| 19 | 19 | ** |
| 20 | 20 | */ |
| 21 | -#include <string.h> | |
| 22 | 21 | #include "config.h" |
| 22 | +#include <string.h> | |
| 23 | 23 | #include "stat.h" |
| 24 | 24 | |
| 25 | 25 | /* |
| 26 | 26 | ** For a sufficiently large integer, provide an alternative |
| 27 | 27 | ** representation as MB or GB or TB. |
| 28 | 28 |
| --- src/stat.c | |
| +++ src/stat.c | |
| @@ -16,12 +16,12 @@ | |
| 16 | ******************************************************************************* |
| 17 | ** |
| 18 | ** This file contains code to implement the stat web page |
| 19 | ** |
| 20 | */ |
| 21 | #include <string.h> |
| 22 | #include "config.h" |
| 23 | #include "stat.h" |
| 24 | |
| 25 | /* |
| 26 | ** For a sufficiently large integer, provide an alternative |
| 27 | ** representation as MB or GB or TB. |
| 28 |
| --- src/stat.c | |
| +++ src/stat.c | |
| @@ -16,12 +16,12 @@ | |
| 16 | ******************************************************************************* |
| 17 | ** |
| 18 | ** This file contains code to implement the stat web page |
| 19 | ** |
| 20 | */ |
| 21 | #include "config.h" |
| 22 | #include <string.h> |
| 23 | #include "stat.h" |
| 24 | |
| 25 | /* |
| 26 | ** For a sufficiently large integer, provide an alternative |
| 27 | ** representation as MB or GB or TB. |
| 28 |
+1
-1
| --- src/tar.c | ||
| +++ src/tar.c | ||
| @@ -15,13 +15,13 @@ | ||
| 15 | 15 | ** |
| 16 | 16 | ******************************************************************************* |
| 17 | 17 | ** |
| 18 | 18 | ** This file contains code used to generate tarballs. |
| 19 | 19 | */ |
| 20 | +#include "config.h" | |
| 20 | 21 | #include <assert.h> |
| 21 | 22 | #include <zlib.h> |
| 22 | -#include "config.h" | |
| 23 | 23 | #include "tar.h" |
| 24 | 24 | |
| 25 | 25 | /* |
| 26 | 26 | ** State information for the tarball builder. |
| 27 | 27 | */ |
| 28 | 28 |
| --- src/tar.c | |
| +++ src/tar.c | |
| @@ -15,13 +15,13 @@ | |
| 15 | ** |
| 16 | ******************************************************************************* |
| 17 | ** |
| 18 | ** This file contains code used to generate tarballs. |
| 19 | */ |
| 20 | #include <assert.h> |
| 21 | #include <zlib.h> |
| 22 | #include "config.h" |
| 23 | #include "tar.h" |
| 24 | |
| 25 | /* |
| 26 | ** State information for the tarball builder. |
| 27 | */ |
| 28 |
| --- src/tar.c | |
| +++ src/tar.c | |
| @@ -15,13 +15,13 @@ | |
| 15 | ** |
| 16 | ******************************************************************************* |
| 17 | ** |
| 18 | ** This file contains code used to generate tarballs. |
| 19 | */ |
| 20 | #include "config.h" |
| 21 | #include <assert.h> |
| 22 | #include <zlib.h> |
| 23 | #include "tar.h" |
| 24 | |
| 25 | /* |
| 26 | ** State information for the tarball builder. |
| 27 | */ |
| 28 |
M
src/th.c
+1
-1
| --- src/th.c | ||
| +++ src/th.c | ||
| @@ -2,10 +2,11 @@ | ||
| 2 | 2 | /* |
| 3 | 3 | ** The implementation of the TH core. This file contains the parser, and |
| 4 | 4 | ** the implementation of the interface in th.h. |
| 5 | 5 | */ |
| 6 | 6 | |
| 7 | +#include "config.h" | |
| 7 | 8 | #include "th.h" |
| 8 | 9 | #include <string.h> |
| 9 | 10 | #include <assert.h> |
| 10 | 11 | |
| 11 | 12 | typedef struct Th_Command Th_Command; |
| @@ -2354,11 +2355,10 @@ | ||
| 2354 | 2355 | } |
| 2355 | 2356 | |
| 2356 | 2357 | #ifndef LONGDOUBLE_TYPE |
| 2357 | 2358 | # define LONGDOUBLE_TYPE long double |
| 2358 | 2359 | #endif |
| 2359 | -typedef char u8; | |
| 2360 | 2360 | |
| 2361 | 2361 | |
| 2362 | 2362 | /* |
| 2363 | 2363 | ** Return TRUE if z is a pure numeric string. Return FALSE if the |
| 2364 | 2364 | ** string contains any character which is not part of a number. If |
| 2365 | 2365 |
| --- src/th.c | |
| +++ src/th.c | |
| @@ -2,10 +2,11 @@ | |
| 2 | /* |
| 3 | ** The implementation of the TH core. This file contains the parser, and |
| 4 | ** the implementation of the interface in th.h. |
| 5 | */ |
| 6 | |
| 7 | #include "th.h" |
| 8 | #include <string.h> |
| 9 | #include <assert.h> |
| 10 | |
| 11 | typedef struct Th_Command Th_Command; |
| @@ -2354,11 +2355,10 @@ | |
| 2354 | } |
| 2355 | |
| 2356 | #ifndef LONGDOUBLE_TYPE |
| 2357 | # define LONGDOUBLE_TYPE long double |
| 2358 | #endif |
| 2359 | typedef char u8; |
| 2360 | |
| 2361 | |
| 2362 | /* |
| 2363 | ** Return TRUE if z is a pure numeric string. Return FALSE if the |
| 2364 | ** string contains any character which is not part of a number. If |
| 2365 |
| --- src/th.c | |
| +++ src/th.c | |
| @@ -2,10 +2,11 @@ | |
| 2 | /* |
| 3 | ** The implementation of the TH core. This file contains the parser, and |
| 4 | ** the implementation of the interface in th.h. |
| 5 | */ |
| 6 | |
| 7 | #include "config.h" |
| 8 | #include "th.h" |
| 9 | #include <string.h> |
| 10 | #include <assert.h> |
| 11 | |
| 12 | typedef struct Th_Command Th_Command; |
| @@ -2354,11 +2355,10 @@ | |
| 2355 | } |
| 2356 | |
| 2357 | #ifndef LONGDOUBLE_TYPE |
| 2358 | # define LONGDOUBLE_TYPE long double |
| 2359 | #endif |
| 2360 | |
| 2361 | |
| 2362 | /* |
| 2363 | ** Return TRUE if z is a pure numeric string. Return FALSE if the |
| 2364 | ** string contains any character which is not part of a number. If |
| 2365 |
+1
-1
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -16,13 +16,13 @@ | ||
| 16 | 16 | ******************************************************************************* |
| 17 | 17 | ** |
| 18 | 18 | ** This file contains code to implement the timeline web page |
| 19 | 19 | ** |
| 20 | 20 | */ |
| 21 | +#include "config.h" | |
| 21 | 22 | #include <string.h> |
| 22 | 23 | #include <time.h> |
| 23 | -#include "config.h" | |
| 24 | 24 | #include "timeline.h" |
| 25 | 25 | |
| 26 | 26 | /* |
| 27 | 27 | ** Shorten a UUID so that is the minimum length needed to contain |
| 28 | 28 | ** at least one digit in the range 'a'..'f'. The minimum length is 10. |
| 29 | 29 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -16,13 +16,13 @@ | |
| 16 | ******************************************************************************* |
| 17 | ** |
| 18 | ** This file contains code to implement the timeline web page |
| 19 | ** |
| 20 | */ |
| 21 | #include <string.h> |
| 22 | #include <time.h> |
| 23 | #include "config.h" |
| 24 | #include "timeline.h" |
| 25 | |
| 26 | /* |
| 27 | ** Shorten a UUID so that is the minimum length needed to contain |
| 28 | ** at least one digit in the range 'a'..'f'. The minimum length is 10. |
| 29 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -16,13 +16,13 @@ | |
| 16 | ******************************************************************************* |
| 17 | ** |
| 18 | ** This file contains code to implement the timeline web page |
| 19 | ** |
| 20 | */ |
| 21 | #include "config.h" |
| 22 | #include <string.h> |
| 23 | #include <time.h> |
| 24 | #include "timeline.h" |
| 25 | |
| 26 | /* |
| 27 | ** Shorten a UUID so that is the minimum length needed to contain |
| 28 | ** at least one digit in the range 'a'..'f'. The minimum length is 10. |
| 29 |
+1
-1
| --- src/wiki.c | ||
| +++ src/wiki.c | ||
| @@ -16,13 +16,13 @@ | ||
| 16 | 16 | ** |
| 17 | 17 | ******************************************************************************* |
| 18 | 18 | ** |
| 19 | 19 | ** This file contains code to do formatting of wiki text. |
| 20 | 20 | */ |
| 21 | +#include "config.h" | |
| 21 | 22 | #include <assert.h> |
| 22 | 23 | #include <ctype.h> |
| 23 | -#include "config.h" | |
| 24 | 24 | #include "wiki.h" |
| 25 | 25 | |
| 26 | 26 | /* |
| 27 | 27 | ** Return true if the input string is a well-formed wiki page name. |
| 28 | 28 | ** |
| 29 | 29 |
| --- src/wiki.c | |
| +++ src/wiki.c | |
| @@ -16,13 +16,13 @@ | |
| 16 | ** |
| 17 | ******************************************************************************* |
| 18 | ** |
| 19 | ** This file contains code to do formatting of wiki text. |
| 20 | */ |
| 21 | #include <assert.h> |
| 22 | #include <ctype.h> |
| 23 | #include "config.h" |
| 24 | #include "wiki.h" |
| 25 | |
| 26 | /* |
| 27 | ** Return true if the input string is a well-formed wiki page name. |
| 28 | ** |
| 29 |
| --- src/wiki.c | |
| +++ src/wiki.c | |
| @@ -16,13 +16,13 @@ | |
| 16 | ** |
| 17 | ******************************************************************************* |
| 18 | ** |
| 19 | ** This file contains code to do formatting of wiki text. |
| 20 | */ |
| 21 | #include "config.h" |
| 22 | #include <assert.h> |
| 23 | #include <ctype.h> |
| 24 | #include "wiki.h" |
| 25 | |
| 26 | /* |
| 27 | ** Return true if the input string is a well-formed wiki page name. |
| 28 | ** |
| 29 |
+1
-1
| --- src/wikiformat.c | ||
| +++ src/wikiformat.c | ||
| @@ -15,12 +15,12 @@ | ||
| 15 | 15 | ** |
| 16 | 16 | ******************************************************************************* |
| 17 | 17 | ** |
| 18 | 18 | ** This file contains code to do formatting of wiki text. |
| 19 | 19 | */ |
| 20 | -#include <assert.h> | |
| 21 | 20 | #include "config.h" |
| 21 | +#include <assert.h> | |
| 22 | 22 | #include "wikiformat.h" |
| 23 | 23 | |
| 24 | 24 | #if INTERFACE |
| 25 | 25 | /* |
| 26 | 26 | ** Allowed wiki transformation operations |
| 27 | 27 |
| --- src/wikiformat.c | |
| +++ src/wikiformat.c | |
| @@ -15,12 +15,12 @@ | |
| 15 | ** |
| 16 | ******************************************************************************* |
| 17 | ** |
| 18 | ** This file contains code to do formatting of wiki text. |
| 19 | */ |
| 20 | #include <assert.h> |
| 21 | #include "config.h" |
| 22 | #include "wikiformat.h" |
| 23 | |
| 24 | #if INTERFACE |
| 25 | /* |
| 26 | ** Allowed wiki transformation operations |
| 27 |
| --- src/wikiformat.c | |
| +++ src/wikiformat.c | |
| @@ -15,12 +15,12 @@ | |
| 15 | ** |
| 16 | ******************************************************************************* |
| 17 | ** |
| 18 | ** This file contains code to do formatting of wiki text. |
| 19 | */ |
| 20 | #include "config.h" |
| 21 | #include <assert.h> |
| 22 | #include "wikiformat.h" |
| 23 | |
| 24 | #if INTERFACE |
| 25 | /* |
| 26 | ** Allowed wiki transformation operations |
| 27 |
+1
-1
| --- src/wysiwyg.c | ||
| +++ src/wysiwyg.c | ||
| @@ -16,13 +16,13 @@ | ||
| 16 | 16 | ******************************************************************************* |
| 17 | 17 | ** |
| 18 | 18 | ** This file contains code that generates WYSIWYG text editors on |
| 19 | 19 | ** web pages. |
| 20 | 20 | */ |
| 21 | +#include "config.h" | |
| 21 | 22 | #include <assert.h> |
| 22 | 23 | #include <ctype.h> |
| 23 | -#include "config.h" | |
| 24 | 24 | #include "wysiwyg.h" |
| 25 | 25 | |
| 26 | 26 | |
| 27 | 27 | /* |
| 28 | 28 | ** Output code for a WYSIWYG editor. The caller must have already generated |
| 29 | 29 |
| --- src/wysiwyg.c | |
| +++ src/wysiwyg.c | |
| @@ -16,13 +16,13 @@ | |
| 16 | ******************************************************************************* |
| 17 | ** |
| 18 | ** This file contains code that generates WYSIWYG text editors on |
| 19 | ** web pages. |
| 20 | */ |
| 21 | #include <assert.h> |
| 22 | #include <ctype.h> |
| 23 | #include "config.h" |
| 24 | #include "wysiwyg.h" |
| 25 | |
| 26 | |
| 27 | /* |
| 28 | ** Output code for a WYSIWYG editor. The caller must have already generated |
| 29 |
| --- src/wysiwyg.c | |
| +++ src/wysiwyg.c | |
| @@ -16,13 +16,13 @@ | |
| 16 | ******************************************************************************* |
| 17 | ** |
| 18 | ** This file contains code that generates WYSIWYG text editors on |
| 19 | ** web pages. |
| 20 | */ |
| 21 | #include "config.h" |
| 22 | #include <assert.h> |
| 23 | #include <ctype.h> |
| 24 | #include "wysiwyg.h" |
| 25 | |
| 26 | |
| 27 | /* |
| 28 | ** Output code for a WYSIWYG editor. The caller must have already generated |
| 29 |
+1
-1
| --- src/zip.c | ||
| +++ src/zip.c | ||
| @@ -15,13 +15,13 @@ | ||
| 15 | 15 | ** |
| 16 | 16 | ******************************************************************************* |
| 17 | 17 | ** |
| 18 | 18 | ** This file contains code used to generate ZIP archives. |
| 19 | 19 | */ |
| 20 | +#include "config.h" | |
| 20 | 21 | #include <assert.h> |
| 21 | 22 | #include <zlib.h> |
| 22 | -#include "config.h" | |
| 23 | 23 | #include "zip.h" |
| 24 | 24 | |
| 25 | 25 | /* |
| 26 | 26 | ** Write a 16- or 32-bit integer as little-endian into the given buffer. |
| 27 | 27 | */ |
| 28 | 28 |
| --- src/zip.c | |
| +++ src/zip.c | |
| @@ -15,13 +15,13 @@ | |
| 15 | ** |
| 16 | ******************************************************************************* |
| 17 | ** |
| 18 | ** This file contains code used to generate ZIP archives. |
| 19 | */ |
| 20 | #include <assert.h> |
| 21 | #include <zlib.h> |
| 22 | #include "config.h" |
| 23 | #include "zip.h" |
| 24 | |
| 25 | /* |
| 26 | ** Write a 16- or 32-bit integer as little-endian into the given buffer. |
| 27 | */ |
| 28 |
| --- src/zip.c | |
| +++ src/zip.c | |
| @@ -15,13 +15,13 @@ | |
| 15 | ** |
| 16 | ******************************************************************************* |
| 17 | ** |
| 18 | ** This file contains code used to generate ZIP archives. |
| 19 | */ |
| 20 | #include "config.h" |
| 21 | #include <assert.h> |
| 22 | #include <zlib.h> |
| 23 | #include "zip.h" |
| 24 | |
| 25 | /* |
| 26 | ** Write a 16- or 32-bit integer as little-endian into the given buffer. |
| 27 | */ |
| 28 |
+2
-2
| --- win/Makefile.mingw | ||
| +++ win/Makefile.mingw | ||
| @@ -1685,19 +1685,19 @@ | ||
| 1685 | 1685 | $(XTCC) -o $(OBJDIR)/zip.o -c $(OBJDIR)/zip_.c |
| 1686 | 1686 | |
| 1687 | 1687 | $(OBJDIR)/zip.h: $(OBJDIR)/headers |
| 1688 | 1688 | |
| 1689 | 1689 | $(OBJDIR)/sqlite3.o: $(SRCDIR)/sqlite3.c |
| 1690 | - $(XTCC) -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_STAT3 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_WIN32_NO_ANSI -c $(SRCDIR)/sqlite3.c -o $(OBJDIR)/sqlite3.o | |
| 1690 | + $(XTCC) -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_STAT3 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_WIN32_NO_ANSI -D_HAVE_SQLITE_CONFIG_H -c $(SRCDIR)/sqlite3.c -o $(OBJDIR)/sqlite3.o | |
| 1691 | 1691 | |
| 1692 | 1692 | $(OBJDIR)/cson_amalgamation.o: $(SRCDIR)/cson_amalgamation.c |
| 1693 | 1693 | $(XTCC) -c $(SRCDIR)/cson_amalgamation.c -o $(OBJDIR)/cson_amalgamation.o |
| 1694 | 1694 | |
| 1695 | 1695 | $(OBJDIR)/json.o $(OBJDIR)/json_artifact.o $(OBJDIR)/json_branch.o $(OBJDIR)/json_config.o $(OBJDIR)/json_diff.o $(OBJDIR)/json_dir.o $(OBJDIR)/jsos_finfo.o $(OBJDIR)/json_login.o $(OBJDIR)/json_query.o $(OBJDIR)/json_report.o $(OBJDIR)/json_status.o $(OBJDIR)/json_tag.o $(OBJDIR)/json_timeline.o $(OBJDIR)/json_user.o $(OBJDIR)/json_wiki.o : $(SRCDIR)/json_detail.h |
| 1696 | 1696 | |
| 1697 | 1697 | $(OBJDIR)/shell.o: $(SRCDIR)/shell.c $(SRCDIR)/sqlite3.h |
| 1698 | - $(XTCC) -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -c $(SRCDIR)/shell.c -o $(OBJDIR)/shell.o | |
| 1698 | + $(XTCC) -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -D_HAVE_SQLITE_CONFIG_H -c $(SRCDIR)/shell.c -o $(OBJDIR)/shell.o | |
| 1699 | 1699 | |
| 1700 | 1700 | $(OBJDIR)/th.o: $(SRCDIR)/th.c |
| 1701 | 1701 | $(XTCC) -c $(SRCDIR)/th.c -o $(OBJDIR)/th.o |
| 1702 | 1702 | |
| 1703 | 1703 | $(OBJDIR)/th_lang.o: $(SRCDIR)/th_lang.c |
| 1704 | 1704 |
| --- win/Makefile.mingw | |
| +++ win/Makefile.mingw | |
| @@ -1685,19 +1685,19 @@ | |
| 1685 | $(XTCC) -o $(OBJDIR)/zip.o -c $(OBJDIR)/zip_.c |
| 1686 | |
| 1687 | $(OBJDIR)/zip.h: $(OBJDIR)/headers |
| 1688 | |
| 1689 | $(OBJDIR)/sqlite3.o: $(SRCDIR)/sqlite3.c |
| 1690 | $(XTCC) -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_STAT3 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_WIN32_NO_ANSI -c $(SRCDIR)/sqlite3.c -o $(OBJDIR)/sqlite3.o |
| 1691 | |
| 1692 | $(OBJDIR)/cson_amalgamation.o: $(SRCDIR)/cson_amalgamation.c |
| 1693 | $(XTCC) -c $(SRCDIR)/cson_amalgamation.c -o $(OBJDIR)/cson_amalgamation.o |
| 1694 | |
| 1695 | $(OBJDIR)/json.o $(OBJDIR)/json_artifact.o $(OBJDIR)/json_branch.o $(OBJDIR)/json_config.o $(OBJDIR)/json_diff.o $(OBJDIR)/json_dir.o $(OBJDIR)/jsos_finfo.o $(OBJDIR)/json_login.o $(OBJDIR)/json_query.o $(OBJDIR)/json_report.o $(OBJDIR)/json_status.o $(OBJDIR)/json_tag.o $(OBJDIR)/json_timeline.o $(OBJDIR)/json_user.o $(OBJDIR)/json_wiki.o : $(SRCDIR)/json_detail.h |
| 1696 | |
| 1697 | $(OBJDIR)/shell.o: $(SRCDIR)/shell.c $(SRCDIR)/sqlite3.h |
| 1698 | $(XTCC) -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -c $(SRCDIR)/shell.c -o $(OBJDIR)/shell.o |
| 1699 | |
| 1700 | $(OBJDIR)/th.o: $(SRCDIR)/th.c |
| 1701 | $(XTCC) -c $(SRCDIR)/th.c -o $(OBJDIR)/th.o |
| 1702 | |
| 1703 | $(OBJDIR)/th_lang.o: $(SRCDIR)/th_lang.c |
| 1704 |
| --- win/Makefile.mingw | |
| +++ win/Makefile.mingw | |
| @@ -1685,19 +1685,19 @@ | |
| 1685 | $(XTCC) -o $(OBJDIR)/zip.o -c $(OBJDIR)/zip_.c |
| 1686 | |
| 1687 | $(OBJDIR)/zip.h: $(OBJDIR)/headers |
| 1688 | |
| 1689 | $(OBJDIR)/sqlite3.o: $(SRCDIR)/sqlite3.c |
| 1690 | $(XTCC) -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_STAT3 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_WIN32_NO_ANSI -D_HAVE_SQLITE_CONFIG_H -c $(SRCDIR)/sqlite3.c -o $(OBJDIR)/sqlite3.o |
| 1691 | |
| 1692 | $(OBJDIR)/cson_amalgamation.o: $(SRCDIR)/cson_amalgamation.c |
| 1693 | $(XTCC) -c $(SRCDIR)/cson_amalgamation.c -o $(OBJDIR)/cson_amalgamation.o |
| 1694 | |
| 1695 | $(OBJDIR)/json.o $(OBJDIR)/json_artifact.o $(OBJDIR)/json_branch.o $(OBJDIR)/json_config.o $(OBJDIR)/json_diff.o $(OBJDIR)/json_dir.o $(OBJDIR)/jsos_finfo.o $(OBJDIR)/json_login.o $(OBJDIR)/json_query.o $(OBJDIR)/json_report.o $(OBJDIR)/json_status.o $(OBJDIR)/json_tag.o $(OBJDIR)/json_timeline.o $(OBJDIR)/json_user.o $(OBJDIR)/json_wiki.o : $(SRCDIR)/json_detail.h |
| 1696 | |
| 1697 | $(OBJDIR)/shell.o: $(SRCDIR)/shell.c $(SRCDIR)/sqlite3.h |
| 1698 | $(XTCC) -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -D_HAVE_SQLITE_CONFIG_H -c $(SRCDIR)/shell.c -o $(OBJDIR)/shell.o |
| 1699 | |
| 1700 | $(OBJDIR)/th.o: $(SRCDIR)/th.c |
| 1701 | $(XTCC) -c $(SRCDIR)/th.c -o $(OBJDIR)/th.o |
| 1702 | |
| 1703 | $(OBJDIR)/th_lang.o: $(SRCDIR)/th_lang.c |
| 1704 |
+2
-2
| --- win/Makefile.mingw.mistachkin | ||
| +++ win/Makefile.mingw.mistachkin | ||
| @@ -1685,19 +1685,19 @@ | ||
| 1685 | 1685 | $(XTCC) -o $(OBJDIR)/zip.o -c $(OBJDIR)/zip_.c |
| 1686 | 1686 | |
| 1687 | 1687 | $(OBJDIR)/zip.h: $(OBJDIR)/headers |
| 1688 | 1688 | |
| 1689 | 1689 | $(OBJDIR)/sqlite3.o: $(SRCDIR)/sqlite3.c |
| 1690 | - $(XTCC) -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_STAT3 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_WIN32_NO_ANSI -c $(SRCDIR)/sqlite3.c -o $(OBJDIR)/sqlite3.o | |
| 1690 | + $(XTCC) -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_STAT3 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_WIN32_NO_ANSI -D_HAVE_SQLITE_CONFIG_H -c $(SRCDIR)/sqlite3.c -o $(OBJDIR)/sqlite3.o | |
| 1691 | 1691 | |
| 1692 | 1692 | $(OBJDIR)/cson_amalgamation.o: $(SRCDIR)/cson_amalgamation.c |
| 1693 | 1693 | $(XTCC) -c $(SRCDIR)/cson_amalgamation.c -o $(OBJDIR)/cson_amalgamation.o |
| 1694 | 1694 | |
| 1695 | 1695 | $(OBJDIR)/json.o $(OBJDIR)/json_artifact.o $(OBJDIR)/json_branch.o $(OBJDIR)/json_config.o $(OBJDIR)/json_diff.o $(OBJDIR)/json_dir.o $(OBJDIR)/jsos_finfo.o $(OBJDIR)/json_login.o $(OBJDIR)/json_query.o $(OBJDIR)/json_report.o $(OBJDIR)/json_status.o $(OBJDIR)/json_tag.o $(OBJDIR)/json_timeline.o $(OBJDIR)/json_user.o $(OBJDIR)/json_wiki.o : $(SRCDIR)/json_detail.h |
| 1696 | 1696 | |
| 1697 | 1697 | $(OBJDIR)/shell.o: $(SRCDIR)/shell.c $(SRCDIR)/sqlite3.h |
| 1698 | - $(XTCC) -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -c $(SRCDIR)/shell.c -o $(OBJDIR)/shell.o | |
| 1698 | + $(XTCC) -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -D_HAVE_SQLITE_CONFIG_H -c $(SRCDIR)/shell.c -o $(OBJDIR)/shell.o | |
| 1699 | 1699 | |
| 1700 | 1700 | $(OBJDIR)/th.o: $(SRCDIR)/th.c |
| 1701 | 1701 | $(XTCC) -c $(SRCDIR)/th.c -o $(OBJDIR)/th.o |
| 1702 | 1702 | |
| 1703 | 1703 | $(OBJDIR)/th_lang.o: $(SRCDIR)/th_lang.c |
| 1704 | 1704 |
| --- win/Makefile.mingw.mistachkin | |
| +++ win/Makefile.mingw.mistachkin | |
| @@ -1685,19 +1685,19 @@ | |
| 1685 | $(XTCC) -o $(OBJDIR)/zip.o -c $(OBJDIR)/zip_.c |
| 1686 | |
| 1687 | $(OBJDIR)/zip.h: $(OBJDIR)/headers |
| 1688 | |
| 1689 | $(OBJDIR)/sqlite3.o: $(SRCDIR)/sqlite3.c |
| 1690 | $(XTCC) -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_STAT3 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_WIN32_NO_ANSI -c $(SRCDIR)/sqlite3.c -o $(OBJDIR)/sqlite3.o |
| 1691 | |
| 1692 | $(OBJDIR)/cson_amalgamation.o: $(SRCDIR)/cson_amalgamation.c |
| 1693 | $(XTCC) -c $(SRCDIR)/cson_amalgamation.c -o $(OBJDIR)/cson_amalgamation.o |
| 1694 | |
| 1695 | $(OBJDIR)/json.o $(OBJDIR)/json_artifact.o $(OBJDIR)/json_branch.o $(OBJDIR)/json_config.o $(OBJDIR)/json_diff.o $(OBJDIR)/json_dir.o $(OBJDIR)/jsos_finfo.o $(OBJDIR)/json_login.o $(OBJDIR)/json_query.o $(OBJDIR)/json_report.o $(OBJDIR)/json_status.o $(OBJDIR)/json_tag.o $(OBJDIR)/json_timeline.o $(OBJDIR)/json_user.o $(OBJDIR)/json_wiki.o : $(SRCDIR)/json_detail.h |
| 1696 | |
| 1697 | $(OBJDIR)/shell.o: $(SRCDIR)/shell.c $(SRCDIR)/sqlite3.h |
| 1698 | $(XTCC) -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -c $(SRCDIR)/shell.c -o $(OBJDIR)/shell.o |
| 1699 | |
| 1700 | $(OBJDIR)/th.o: $(SRCDIR)/th.c |
| 1701 | $(XTCC) -c $(SRCDIR)/th.c -o $(OBJDIR)/th.o |
| 1702 | |
| 1703 | $(OBJDIR)/th_lang.o: $(SRCDIR)/th_lang.c |
| 1704 |
| --- win/Makefile.mingw.mistachkin | |
| +++ win/Makefile.mingw.mistachkin | |
| @@ -1685,19 +1685,19 @@ | |
| 1685 | $(XTCC) -o $(OBJDIR)/zip.o -c $(OBJDIR)/zip_.c |
| 1686 | |
| 1687 | $(OBJDIR)/zip.h: $(OBJDIR)/headers |
| 1688 | |
| 1689 | $(OBJDIR)/sqlite3.o: $(SRCDIR)/sqlite3.c |
| 1690 | $(XTCC) -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_STAT3 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_WIN32_NO_ANSI -D_HAVE_SQLITE_CONFIG_H -c $(SRCDIR)/sqlite3.c -o $(OBJDIR)/sqlite3.o |
| 1691 | |
| 1692 | $(OBJDIR)/cson_amalgamation.o: $(SRCDIR)/cson_amalgamation.c |
| 1693 | $(XTCC) -c $(SRCDIR)/cson_amalgamation.c -o $(OBJDIR)/cson_amalgamation.o |
| 1694 | |
| 1695 | $(OBJDIR)/json.o $(OBJDIR)/json_artifact.o $(OBJDIR)/json_branch.o $(OBJDIR)/json_config.o $(OBJDIR)/json_diff.o $(OBJDIR)/json_dir.o $(OBJDIR)/jsos_finfo.o $(OBJDIR)/json_login.o $(OBJDIR)/json_query.o $(OBJDIR)/json_report.o $(OBJDIR)/json_status.o $(OBJDIR)/json_tag.o $(OBJDIR)/json_timeline.o $(OBJDIR)/json_user.o $(OBJDIR)/json_wiki.o : $(SRCDIR)/json_detail.h |
| 1696 | |
| 1697 | $(OBJDIR)/shell.o: $(SRCDIR)/shell.c $(SRCDIR)/sqlite3.h |
| 1698 | $(XTCC) -Dmain=sqlite3_shell -DSQLITE_OMIT_LOAD_EXTENSION=1 -D_HAVE_SQLITE_CONFIG_H -c $(SRCDIR)/shell.c -o $(OBJDIR)/shell.o |
| 1699 | |
| 1700 | $(OBJDIR)/th.o: $(SRCDIR)/th.c |
| 1701 | $(XTCC) -c $(SRCDIR)/th.c -o $(OBJDIR)/th.o |
| 1702 | |
| 1703 | $(OBJDIR)/th_lang.o: $(SRCDIR)/th_lang.c |
| 1704 |
+2
| --- win/fossil.rc | ||
| +++ win/fossil.rc | ||
| @@ -15,10 +15,12 @@ | ||
| 15 | 15 | ** |
| 16 | 16 | ******************************************************************************* |
| 17 | 17 | ** |
| 18 | 18 | ** This file contains resource information for the executable on Windows. |
| 19 | 19 | */ |
| 20 | + | |
| 21 | +#undef _USE_32BIT_TIME_T | |
| 20 | 22 | |
| 21 | 23 | #if !defined(_WIN32_WCE) |
| 22 | 24 | #include "winresrc.h" |
| 23 | 25 | #else |
| 24 | 26 | #include "windows.h" |
| 25 | 27 |
| --- win/fossil.rc | |
| +++ win/fossil.rc | |
| @@ -15,10 +15,12 @@ | |
| 15 | ** |
| 16 | ******************************************************************************* |
| 17 | ** |
| 18 | ** This file contains resource information for the executable on Windows. |
| 19 | */ |
| 20 | |
| 21 | #if !defined(_WIN32_WCE) |
| 22 | #include "winresrc.h" |
| 23 | #else |
| 24 | #include "windows.h" |
| 25 |
| --- win/fossil.rc | |
| +++ win/fossil.rc | |
| @@ -15,10 +15,12 @@ | |
| 15 | ** |
| 16 | ******************************************************************************* |
| 17 | ** |
| 18 | ** This file contains resource information for the executable on Windows. |
| 19 | */ |
| 20 | |
| 21 | #undef _USE_32BIT_TIME_T |
| 22 | |
| 23 | #if !defined(_WIN32_WCE) |
| 24 | #include "winresrc.h" |
| 25 | #else |
| 26 | #include "windows.h" |
| 27 |