mirror of https://github.com/FFmpeg/FFmpeg.git
AIX defines a class() function in its math.h header without any guard.pull/27/head
parent
0420c810ce
commit
d3635f3ab0
2 changed files with 17 additions and 0 deletions
@ -0,0 +1,14 @@ |
||||
/*
|
||||
* Workaround aix-specific class() function clashing with libav 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