Commit 03bc0f37 authored by Måns Rullgård's avatar Måns Rullgård

Avoid warnings from AV_GCC_VERSION_AT_LEAST with some non-gcc compilers

Originally committed as revision 17508 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent df442a8d
......@@ -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