1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-15 14:05:03 -05:00

curl_setup.h: Fixed redefinition warning using mingw-w64

This commit is contained in:
Marc Hoersken 2013-06-02 15:53:08 +02:00
parent 6691fdf517
commit f4b08b8f40

View File

@ -368,7 +368,9 @@
# include <sys/stat.h> # include <sys/stat.h>
# undef lseek # undef lseek
# define lseek(fdes,offset,whence) _lseeki64(fdes, offset, whence) # define lseek(fdes,offset,whence) _lseeki64(fdes, offset, whence)
# undef fstat
# define fstat(fdes,stp) _fstati64(fdes, stp) # define fstat(fdes,stp) _fstati64(fdes, stp)
# undef stat
# define stat(fname,stp) _stati64(fname, stp) # define stat(fname,stp) _stati64(fname, stp)
# define struct_stat struct _stati64 # define struct_stat struct _stati64
# define LSEEK_ERROR (__int64)-1 # define LSEEK_ERROR (__int64)-1