Revision 52476c1b libavutil/internal.h

View differences:

libavutil/internal.h
33 33
#include <stdint.h>
34 34
#include <stddef.h>
35 35
#include <assert.h>
36
#include "common.h"
36 37

  
37 38
#ifndef attribute_align_arg
38
#if defined(__GNUC__) && (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__>1)
39
#if AV_GCC_VERSION_AT_LEAST(4,2)
39 40
#    define attribute_align_arg __attribute__((force_align_arg_pointer))
40 41
#else
41 42
#    define attribute_align_arg
......
43 44
#endif
44 45

  
45 46
#ifndef attribute_used
46
#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
47
#if AV_GCC_VERSION_AT_LEAST(3,1)
47 48
#    define attribute_used __attribute__((used))
48 49
#else
49 50
#    define attribute_used

Also available in: Unified diff