diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2013-06-02 15:53:08 +0200 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2013-06-02 15:53:08 +0200 |
commit | f4b08b8f403bb536c1e4796538a5069abeb6b8fe (patch) | |
tree | 3c6ba1867563e8a8501b16f8f639a010a9412f84 | |
parent | 6691fdf5179d22bb6494aa7d2a748508d9f324ab (diff) |
curl_setup.h: Fixed redefinition warning using mingw-w64
-rw-r--r-- | lib/curl_setup.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <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 |