diff --git a/libavutil/common.h b/libavutil/common.h index 6ef2a13296..7187c579c9 100644 --- a/libavutil/common.h +++ b/libavutil/common.h @@ -18,6 +18,10 @@ #define M_PI 3.14159265358979323846 #endif +#if ( defined(__PIC__) || defined(__pic__) ) && ! defined(PIC) +# define PIC +#endif + #ifdef HAVE_AV_CONFIG_H /* only include the following when compiling package */ # include "config.h" diff --git a/libpostproc/postprocess_internal.h b/libpostproc/postprocess_internal.h index 90107c733a..b1b15c8a85 100644 --- a/libpostproc/postprocess_internal.h +++ b/libpostproc/postprocess_internal.h @@ -58,6 +58,10 @@ #define TEMP_NOISE_FILTER 0x100000 #define FORCE_QUANT 0x200000 +#if ( defined(__PIC__) || defined(__pic__) ) && ! defined(PIC) +# define PIC +#endif + //use if u want a faster postprocessing code //cant differentiate between chroma & luma filters (both on or both off) //obviosly the -pp option at the commandline has no effect except turning the here selected