Mercurial > libpostproc.hg
changeset 114:4bcd22663020 libpostproc
Do not set COMPILE_C if AltiVec is enabled without runtime CPU detection.
Gets rid of the following warning:
postprocess_template.c:3271: warning: ?postProcess_C? defined but not used
| author | diego |
|---|---|
| date | Thu, 11 Dec 2008 16:44:22 +0000 |
| parents | bf8f52662dc3 |
| children | 213fc392f0c0 |
| files | postprocess.c |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/postprocess.c Sun Nov 02 18:59:44 2008 +0000 +++ b/postprocess.c Thu Dec 11 16:44:22 2008 +0000 @@ -557,7 +557,7 @@ //Note: we have C, MMX, MMX2, 3DNOW version there is no 3DNOW+MMX2 one //Plain C versions -#if !defined (HAVE_MMX) || defined (RUNTIME_CPUDETECT) +#if !(defined (HAVE_MMX) || defined (HAVE_ALTIVEC)) || defined (RUNTIME_CPUDETECT) #define COMPILE_C #endif
