Commit 9696abee authored by mru's avatar mru

Avoid warnings from AV_GCC_VERSION_AT_LEAST with some non-gcc compilers

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17508 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1da60ab8
......@@ -35,7 +35,11 @@
#include <stdlib.h>
#include <string.h>
#define AV_GCC_VERSION_AT_LEAST(x,y) (defined(__GNUC__) && (__GNUC__ > x || __GNUC__ == x && __GNUC_MINOR__ >= y))
#ifdef __GNUC__
# 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
#ifndef av_always_inline
#if AV_GCC_VERSION_AT_LEAST(3,1)
......
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