changeset 5569:679bc8b411b7 libavcodec

Simplify preprocessor directives.
author diego
date Wed, 22 Aug 2007 13:04:10 +0000
parents 46b41d803766
children 296006eeb808
files ppc/dsputil_altivec.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ppc/dsputil_altivec.c	Wed Aug 22 12:54:49 2007 +0000
+++ b/ppc/dsputil_altivec.c	Wed Aug 22 13:04:10 2007 +0000
@@ -28,12 +28,11 @@
 
 #ifdef CONFIG_DARWIN
 #include <sys/sysctl.h>
-#else /* CONFIG_DARWIN */
-#ifdef __AMIGAOS4__
+#elif __AMIGAOS4__
 #include <exec/exec.h>
 #include <interfaces/exec.h>
 #include <proto/exec.h>
-#else /* __AMIGAOS4__ */
+#else
 #include <signal.h>
 #include <setjmp.h>
 
@@ -51,7 +50,6 @@
     siglongjmp (jmpbuf, 1);
 }
 #endif /* CONFIG_DARWIN */
-#endif /* __AMIGAOS4__ */
 
 int sad16_x2_altivec(void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h)
 {