summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavutil/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libffmpeg/libavutil/common.h')
-rw-r--r--src/libffmpeg/libavutil/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libffmpeg/libavutil/common.h b/src/libffmpeg/libavutil/common.h
index a0ef2faee..fffd2ff01 100644
--- a/src/libffmpeg/libavutil/common.h
+++ b/src/libffmpeg/libavutil/common.h
@@ -20,6 +20,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"