projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6691fdf
)
curl_setup.h: Fixed redefinition warning using mingw-w64
author
Marc Hoersken
<info@marc-hoersken.de>
Sun, 2 Jun 2013 13:53:08 +0000
(15:53 +0200)
committer
Marc Hoersken
<info@marc-hoersken.de>
Sun, 2 Jun 2013 13:53:08 +0000
(15:53 +0200)
lib/curl_setup.h
patch
|
blob
|
history
diff --git
a/lib/curl_setup.h
b/lib/curl_setup.h
index e4d8721a0bc20287aff08a4ed90208b6f419fe3e..a18d085f6ddb083e5338225efef247c97b335ce9 100644
(file)
--- 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