Avoid a compiler warning when building with newer versions of MinGW

FossilOrigin-Name: cba0206a15f30313e16a08634995ebfd5d325d83affb859a215e72509f539b4e
This commit is contained in:
drh 2018-01-09 02:27:13 +00:00
parent 562f0c8e46
commit a8691309dd
3 changed files with 11 additions and 9 deletions

View File

@ -92,7 +92,9 @@ SQLITE_EXTENSION_INIT1
# include <direct.h>
# include "test_windirent.h"
# define dirent DIRENT
# define stat _stat
# ifndef stat
# define stat _stat
# endif
# define mkdir(path,mode) _mkdir(path)
# define lstat(path,buf) _stat(path,buf)
#endif

View File

@ -1,5 +1,5 @@
C Improve\sportability\sof\scompile-time\sMinGW\sdetection\sfor\sthe\scommand\sline\sshell.
D 2018-01-09T00:28:24.035
C Avoid\sa\scompiler\swarning\swhen\sbuilding\swith\snewer\sversions\sof\sMinGW
D 2018-01-09T02:27:13.505
F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
F Makefile.in 12b6daa4bdb03fa87da27cbc205ff88ace645475b5be79414a3038b68ade14cb
@ -277,7 +277,7 @@ F ext/misc/compress.c dd4f8a6d0baccff3c694757db5b430f3bbd821d8686d1fc24df55cf9f0
F ext/misc/csv.c 1a009b93650732e22334edc92459c4630b9fa703397cbb3c8ca279921a36ca11
F ext/misc/dbdump.c 3509fa6b8932d04e932d6b6b827b6a82ca362781b8e8f3c77336f416793e215e
F ext/misc/eval.c f971962e92ebb8b0a4e6b62949463ee454d88fa2
F ext/misc/fileio.c edf880df28f606f0b00ac872a6a957b544fa5a7edc602ad523a9e94a1a90cce9
F ext/misc/fileio.c 8bc7277143ec73c9f27057f3f38bd912a98d3492346dd688f2f877130f765d02
F ext/misc/fuzzer.c 7c64b8197bb77b7d64eff7cac7848870235d4c25
F ext/misc/ieee754.c f190d0cc5182529acb15babd177781be1ac1718c
F ext/misc/json1.c dbe086615b9546c156bf32b9378fc09383b58bd17513b866cfd24c1e15281984
@ -1697,7 +1697,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
P 1adf4e60391326ba699260402c06604ea25b456e903157ecb05017e7ea954fc4
R 5655f2550cccb3efdcb36901ceb7ce1e
U mistachkin
Z 83883ba507a74a46a1e753825276cfba
P 4a7236140cb0f40fa846da4673a0d56218def1929d58cf016909ce881a681140
R 79b1c4b885f55f7c11d5769bd78fff72
U drh
Z 1c8c6d539242ddf8ecab679f4369ea9e

View File

@ -1 +1 @@
4a7236140cb0f40fa846da4673a0d56218def1929d58cf016909ce881a681140
cba0206a15f30313e16a08634995ebfd5d325d83affb859a215e72509f539b4e