Commit f4b08b8f authored by Marc Hoersken's avatar Marc Hoersken
Browse files

curl_setup.h: Fixed redefinition warning using mingw-w64

parent 6691fdf5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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