summaryrefslogtreecommitdiff
path: root/libavutil/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/common.h')
-rw-r--r--libavutil/common.h4
1 files changed, 4 insertions, 0 deletions
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"