[FFmpeg-cvslog] r16869 - trunk/libavcodec/ppc/check_altivec.c
diego
subversion
Sat Jan 31 00:50:13 CET 2009
Author: diego
Date: Sat Jan 31 00:50:13 2009
New Revision: 16869
Log:
Use '#if defined()' for OS-specific preprocessor checks.
Avoids some warnings about undefined preprocessor directives.
Modified:
trunk/libavcodec/ppc/check_altivec.c
Modified: trunk/libavcodec/ppc/check_altivec.c
==============================================================================
--- trunk/libavcodec/ppc/check_altivec.c Sat Jan 31 00:13:19 2009 (r16868)
+++ trunk/libavcodec/ppc/check_altivec.c Sat Jan 31 00:50:13 2009 (r16869)
@@ -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>
More information about the ffmpeg-cvslog
mailing list