Commit 06309fc7 authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/attributes: Add () to protect the AV_GCC_VERSION_AT_LEAST() arguments

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent f8607cfb
......@@ -27,7 +27,7 @@
#define AVUTIL_ATTRIBUTES_H
#ifdef __GNUC__
# define AV_GCC_VERSION_AT_LEAST(x,y) (__GNUC__ > x || __GNUC__ == x && __GNUC_MINOR__ >= y)
# define AV_GCC_VERSION_AT_LEAST(x,y) (__GNUC__ > (x) || __GNUC__ == (x) && __GNUC_MINOR__ >= (y))
#else
# define AV_GCC_VERSION_AT_LEAST(x,y) 0
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment