OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73b46a9
)
Replace SYS_DARWIN by the more correct __APPLE_CC__, these preprocessor
author
Diego Biurrun
<diego@biurrun.de>
Fri, 24 Aug 2007 15:18:41 +0000
(15:18 +0000)
committer
Diego Biurrun
<diego@biurrun.de>
Fri, 24 Aug 2007 15:18:41 +0000
(15:18 +0000)
directives are aimed at idiosyncracies of Apple's gcc version.
Originally committed as revision 10210 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ppc/dsputil_altivec.h
patch
|
blob
|
history
diff --git
a/libavcodec/ppc/dsputil_altivec.h
b/libavcodec/ppc/dsputil_altivec.h
index
5dc8505
..
7762d34
100644
(file)
--- a/
libavcodec/ppc/dsputil_altivec.h
+++ b/
libavcodec/ppc/dsputil_altivec.h
@@
-61,7
+61,7
@@
void avg_pixels16_altivec(uint8_t *block, const uint8_t *pixels, int line_size,
#define FLOAT_p 1.
-#ifdef
SYS_DARWIN
+#ifdef
__APPLE_CC__
#define vcii(a,b,c,d) (const vector float)(FLOAT_ ## a, FLOAT_ ## b, FLOAT_ ## c, FLOAT_ ## d)
#else
#define vcii(a,b,c,d) (const vector float){FLOAT_ ## a, FLOAT_ ## b, FLOAT_ ## c, FLOAT_ ## d}