comparison ppc/gcc_fixes.h @ 5573:204273dd0349 libavcodec

Rename CONFIG_DARWIN to SYS_DARWIN, it is not configurable (in FFmpeg).
author diego
date Wed, 22 Aug 2007 22:46:39 +0000
parents 35cc7c922a76
children 9f573d1246bb
comparison
equal deleted inserted replaced
5572:c6fac563ec28 5573:204273dd0349
25 25
26 #ifdef HAVE_ALTIVEC_H 26 #ifdef HAVE_ALTIVEC_H
27 #include <altivec.h> 27 #include <altivec.h>
28 #endif 28 #endif
29 29
30 #ifdef CONFIG_DARWIN 30 #ifdef SYS_DARWIN
31 # ifndef __MWERKS__ 31 # ifndef __MWERKS__
32 # define AVV(x...) (x) 32 # define AVV(x...) (x)
33 # else 33 # else
34 # define AVV 34 # define AVV
35 # endif 35 # endif
106 ((vector unsigned int) ff_vmrglw ((vector signed int) (a1), (vector signed int) (a2))), \ 106 ((vector unsigned int) ff_vmrglw ((vector signed int) (a1), (vector signed int) (a2))), \
107 __altivec_link_error_invalid_argument ()))))))) 107 __altivec_link_error_invalid_argument ())))))))
108 108
109 #endif 109 #endif
110 110
111 #endif /* CONFIG_DARWIN */ 111 #endif /* SYS_DARWIN */
112 112
113 #ifndef __MWERKS__ 113 #ifndef __MWERKS__
114 #define const_vector const vector 114 #define const_vector const vector
115 #else 115 #else
116 #define const_vector vector 116 #define const_vector vector