summaryrefslogtreecommitdiffstats
path: root/postproc/swscale_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'postproc/swscale_internal.h')
-rw-r--r--postproc/swscale_internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/postproc/swscale_internal.h b/postproc/swscale_internal.h
index 0013129b5a..a224446568 100644
--- a/postproc/swscale_internal.h
+++ b/postproc/swscale_internal.h
@@ -23,6 +23,12 @@
#include <altivec.h>
#endif
+#ifdef CONFIG_DARWIN
+#define AVV(x...) (x)
+#else
+#define AVV(x...) {x}
+#endif
+
#include "../mp_msg.h"
#define MSG_WARN(args...) mp_msg(MSGT_SWS,MSGL_WARN, ##args )