Browse Source

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.6
Michael Niedermayer 10 years ago
parent
commit
06309fc704
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavutil/attributes.h

+ 1
- 1
libavutil/attributes.h View File

@@ -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


Loading…
Cancel
Save