Employ consistent LIBAV_COMPAT_ multiple inclusion guards in compat/

Also fix a comment and an #endif comment.
This commit is contained in:
Diego Biurrun
2012-10-25 16:49:26 +02:00
parent d010e95f86
commit 439902e0d6
4 changed files with 14 additions and 10 deletions

View File

@@ -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 */