curl_setup.h: Fixed redefinition warning using mingw-w64
authorMarc Hoersken <info@marc-hoersken.de>
Sun, 2 Jun 2013 13:53:08 +0000 (15:53 +0200)
committerMarc Hoersken <info@marc-hoersken.de>
Sun, 2 Jun 2013 13:53:08 +0000 (15:53 +0200)
lib/curl_setup.h

index e4d8721a0bc20287aff08a4ed90208b6f419fe3e..a18d085f6ddb083e5338225efef247c97b335ce9 100644 (file)
 #  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