diff --git a/libavcodec/ppc/check_altivec.c b/libavcodec/ppc/check_altivec.c index 417c768df4..6e38f9c75d 100644 --- a/libavcodec/ppc/check_altivec.c +++ b/libavcodec/ppc/check_altivec.c @@ -25,11 +25,11 @@ #ifdef __APPLE__ #undef _POSIX_C_SOURCE #include -#elif __OpenBSD__ +#elif defined(__OpenBSD__) #include #include #include -#elif __AMIGAOS4__ +#elif defined(__AMIGAOS4__) #include #include #include