Merge pull request #1907 from nokutu/patch-1

Fix build on Windows with clang-cl
This commit is contained in:
Ward Fisher 2020-12-22 16:53:57 -07:00 committed by GitHub
commit ad6bff35c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,9 @@ are set when opening a binary file on Windows. */
#define read _read
#define lseek _lseeki64
#ifndef __clang__
#define fstat _fstat64
#endif
#define off_t __int64
#define _off_t __int64