Commit 47ca9f04 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge remote-tracking branch 'qatar/master'

* qatar/master:
  compat: wrap math.h to avoid AIX-specific clashes

Conflicts:
	configure

See: bf18abb2, 0915b531Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 8fdec02f d3635f3a
/*
* Workaround aix-specific class() function clashing with ffmpeg 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 */
...@@ -3401,6 +3401,7 @@ enabled spic && enable_weak pic ...@@ -3401,6 +3401,7 @@ enabled spic && enable_weak pic
# OS specific # OS specific
case $target_os in case $target_os in
aix) aix)
add_cppflags '-I\$(SRC_PATH)/compat/aix'
;; ;;
haiku) haiku)
prefix_default="/boot/common" prefix_default="/boot/common"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment