Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-01-31 02:50:13 +0300
committerDiego Biurrun <diego@biurrun.de>2009-01-31 02:50:13 +0300
commit67a7e4dbcfdc3903cdb2595394fd6c926a28dee3 (patch)
tree9285911ddb7ea6c3bc61622d49b229b3871baa00 /libavcodec/ppc
parente1f7cb7fa0aec465ec0c172d1b922aebced04cc2 (diff)
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.c4
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>