From: Marc Hoersken Date: Sun, 2 Jun 2013 13:53:08 +0000 (+0200) Subject: curl_setup.h: Fixed redefinition warning using mingw-w64 X-Git-Tag: upstream/7.37.1~1640 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f4b08b8f403bb536c1e4796538a5069abeb6b8fe;p=platform%2Fupstream%2Fcurl.git curl_setup.h: Fixed redefinition warning using mingw-w64 --- diff --git a/lib/curl_setup.h b/lib/curl_setup.h index e4d8721a0..a18d085f6 100644 --- a/lib/curl_setup.h +++ b/lib/curl_setup.h @@ -368,7 +368,9 @@ # include # 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