projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
051aade
)
os_support: Undefine lseek/stat/fstat before defining them
author
Diego Biurrun
<diego@biurrun.de>
Fri, 15 Aug 2014 19:42:56 +0000
(21:42 +0200)
committer
Diego Biurrun
<diego@biurrun.de>
Fri, 22 Aug 2014 16:35:19 +0000
(18:35 +0200)
This avoids a number of redefinition warnings on MinGW64.
libavformat/os_support.h
patch
|
blob
|
blame
|
history
diff --git
a/libavformat/os_support.h
b/libavformat/os_support.h
index
ae8cef7
..
8a757d7
100644
(file)
--- a/
libavformat/os_support.h
+++ b/
libavformat/os_support.h
@@
-33,8
+33,11
@@
#if defined(_WIN32) && !defined(__MINGW32CE__)
# include <fcntl.h>
+# undef lseek
# define lseek(f,p,w) _lseeki64((f), (p), (w))
+# undef stat
# define stat _stati64
+# undef fstat
# define fstat(f,s) _fstati64((f), (s))
#endif /* defined(__MINGW32__) && !defined(__MINGW32CE__) */