This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
compat: wrap math.h to avoid AIX-specific clashes
AIX defines a class() function in its math.h header without any guard.
tags/n2.0
Luca Barbato
12 years ago
parent
0420c810ce
commit
d3635f3ab0
2 changed files
with
17 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+14
-0
compat/aix/math.h
+3
-0
configure
+ 14
- 0
compat/aix/math.h
View File
@@ -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 */
+ 3
- 0
configure
View File
@@ -3049,6 +3049,9 @@ enabled spic && enable_weak pic
# OS specific
case $target_os in
aix)
add_cppflags '-I\$(SRC_PATH)/compat/aix'
;;
haiku)
prefix_default="/boot/common"
network_extralibs="-lnetwork"
Write
Preview
Loading…
Cancel
Save