diff options
author | drh <drh@noemail.net> | 2018-01-09 14:27:58 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2018-01-09 14:27:58 +0000 |
commit | 8ee5d0fc053c441c082c218e4b8409f1c461bd3c (patch) | |
tree | 148e44cd8aa8bab62b9a27ed2104b317459542d8 /ext/misc/fileio.c | |
parent | 128011a25846785a472f7c60c082693583f83df5 (diff) | |
download | sqlite-8ee5d0fc053c441c082c218e4b8409f1c461bd3c.tar.gz sqlite-8ee5d0fc053c441c082c218e4b8409f1c461bd3c.zip |
Attempt to fix the fileio.c extension so that it builds on MinGW-64.
FossilOrigin-Name: a7446d3217d39c96c884fbfb294dd320378255f3bfb34e35d15ba6d7c6698f53
Diffstat (limited to 'ext/misc/fileio.c')
-rw-r--r-- | ext/misc/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/misc/fileio.c b/ext/misc/fileio.c index 76d948362..8170e8637 100644 --- a/ext/misc/fileio.c +++ b/ext/misc/fileio.c @@ -96,7 +96,7 @@ SQLITE_EXTENSION_INIT1 # define stat _stat # endif # define mkdir(path,mode) _mkdir(path) -# define lstat(path,buf) _stat(path,buf) +# define lstat(path,buf) stat(path,buf) #endif #include <time.h> #include <errno.h> |