mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
d3635f3ab0
AIX defines a class() function in its math.h header without any guard.
15 lines
253 B
C
15 lines
253 B
C
/*
|
|
* 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 */
|