Revision 03bc0f37 libavutil/common.h

View differences:

libavutil/common.h
35 35
#include <stdlib.h>
36 36
#include <string.h>
37 37

  
38
#define AV_GCC_VERSION_AT_LEAST(x,y) (defined(__GNUC__) && (__GNUC__ > x || __GNUC__ == x && __GNUC_MINOR__ >= y))
38
#ifdef __GNUC__
39
#    define AV_GCC_VERSION_AT_LEAST(x,y) (__GNUC__ > x || __GNUC__ == x && __GNUC_MINOR__ >= y)
40
#else
41
#    define AV_GCC_VERSION_AT_LEAST(x,y) 0
42
#endif
39 43

  
40 44
#ifndef av_always_inline
41 45
#if AV_GCC_VERSION_AT_LEAST(3,1)

Also available in: Unified diff