mirror of
https://github.com/curl/curl.git
synced 2026-07-23 13:37:17 +03:00
curl_setup.h: Fixed redefinition warning using mingw-w64
This commit is contained in:
parent
6691fdf517
commit
f4b08b8f40
1 changed files with 2 additions and 0 deletions
|
|
@ -368,7 +368,9 @@
|
|||
# include <sys/stat.h>
|
||||
# undef lseek
|
||||
# define lseek(fdes,offset,whence) _lseeki64(fdes, offset, whence)
|
||||
# undef fstat
|
||||
# define fstat(fdes,stp) _fstati64(fdes, stp)
|
||||
# undef stat
|
||||
# define stat(fname,stp) _stati64(fname, stp)
|
||||
# define struct_stat struct _stati64
|
||||
# define LSEEK_ERROR (__int64)-1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue