OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ccc58b
)
compat: provide va_copy for old gcc versions.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Mon, 30 Dec 2013 11:14:06 +0000
(12:14 +0100)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Mon, 30 Dec 2013 11:38:03 +0000
(12:38 +0100)
Since we have this compat/va_copy.h header already we might just as well make
use of it for more than one compiler.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
compat/va_copy.h
patch
|
blob
|
history
diff --git
a/compat/va_copy.h
b/compat/va_copy.h
index
f894771
..
3cb5ebe
100644
(file)
--- a/
compat/va_copy.h
+++ b/
compat/va_copy.h
@@
-24,3
+24,6
@@
#if !defined(va_copy) && defined(_MSC_VER)
#define va_copy(dst, src) ((dst) = (src))
#endif
+#if !defined(va_copy) && defined(__GNUC__) && __GNUC__ < 3
+#define va_copy(dst, src) __va_copy(dst, src)
+#endif