summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libswscale/swscale_altivec_template.c2
-rw-r--r--libswscale/swscale_internal.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/swscale_altivec_template.c b/libswscale/swscale_altivec_template.c
index 95f40e07ce..fcbf581ba0 100644
--- a/libswscale/swscale_altivec_template.c
+++ b/libswscale/swscale_altivec_template.c
@@ -21,7 +21,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifdef CONFIG_DARWIN
+#ifdef SYS_DARWIN
#define AVV(x...) (x)
#else
#define AVV(x...) {x}
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index c31a4436d4..5e55a6b3c0 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -27,7 +27,7 @@
#include "avutil.h"
-#ifdef CONFIG_DARWIN
+#ifdef SYS_DARWIN
#define AVV(x...) (x)
#else
#define AVV(x...) {x}