diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-01-30 23:50:13 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-01-30 23:50:13 +0000 |
commit | 67a7e4dbcfdc3903cdb2595394fd6c926a28dee3 (patch) | |
tree | 9285911ddb7ea6c3bc61622d49b229b3871baa00 /libavcodec/ppc | |
parent | e1f7cb7fa0aec465ec0c172d1b922aebced04cc2 (diff) | |
download | ffmpeg-67a7e4dbcfdc3903cdb2595394fd6c926a28dee3.tar.gz |
Use '#if defined()' for OS-specific preprocessor checks.
Avoids some warnings about undefined preprocessor directives.
Originally committed as revision 16869 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc')
-rw-r--r-- | libavcodec/ppc/check_altivec.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <sys/sysctl.h> -#elif __OpenBSD__ +#elif defined(__OpenBSD__) #include <sys/param.h> #include <sys/sysctl.h> #include <machine/cpu.h> -#elif __AMIGAOS4__ +#elif defined(__AMIGAOS4__) #include <exec/exec.h> #include <interfaces/exec.h> #include <proto/exec.h> |