Employ consistent LIBAV_COMPAT_ multiple inclusion guards in compat/
Also fix a comment and an #endif comment.
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
/*
|
||||
* Workaround aix-specific class() function clashing with libav class usage
|
||||
*/
|
||||
/* Work around the class() function in AIX math.h clashing with identifiers
|
||||
* named "class". */
|
||||
|
||||
#ifndef COMPAT_AIX_MATH_H
|
||||
#define COMPAT_AIX_MATH_H
|
||||
#ifndef LIBAV_COMPAT_AIX_MATH_H
|
||||
#define LIBAV_COMPAT_AIX_MATH_H
|
||||
|
||||
#define class class_in_math_h_causes_problems
|
||||
|
||||
@@ -11,4 +10,4 @@
|
||||
|
||||
#undef class
|
||||
|
||||
#endif /* COMPAT_AIX_MATH_H */
|
||||
#endif /* LIBAV_COMPAT_AIX_MATH_H */
|
||||
|
||||
Reference in New Issue
Block a user