mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-27 08:49:16 +08:00
Merge pull request #1907 from nokutu/patch-1
Fix build on Windows with clang-cl
This commit is contained in:
commit
ad6bff35c3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user