mirror of https://github.com/FFmpeg/FFmpeg.git
* qatar/master: compat: wrap math.h to avoid AIX-specific clashes Conflicts: configure See:pull/27/headbf18abb2eb
,0915b531bc
Merged-by: Michael Niedermayer <michaelni@gmx.at>
commit
47ca9f041c
2 changed files with 15 additions and 0 deletions
@ -0,0 +1,14 @@ |
||||
/*
|
||||
* Workaround aix-specific class() function clashing with ffmpeg class usage |
||||
*/ |
||||
|
||||
#ifndef COMPAT_AIX_MATH_H |
||||
#define COMPAT_AIX_MATH_H |
||||
|
||||
#define class class_in_math_h_causes_problems |
||||
|
||||
#include_next <math.h> |
||||
|
||||
#undef class |
||||
|
||||
#endif /* COMPAT_AIX_MATH_H */ |
Loading…
Reference in new issue