1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 00:02:13 +00:00

fix altivec.h inclusion (vector keyword in structure)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12839 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2004-07-17 08:56:47 +00:00
parent 82e3eeea4f
commit 85c3622f1c
2 changed files with 4 additions and 3 deletions

View File

@ -61,9 +61,6 @@ untested special converters
#else #else
#include <stdlib.h> #include <stdlib.h>
#endif #endif
#ifdef HAVE_ALTIVEC_H
#include <altivec.h>
#endif
#include "swscale.h" #include "swscale.h"
#include "swscale_internal.h" #include "swscale_internal.h"
#include "../cpudetect.h" #include "../cpudetect.h"

View File

@ -19,6 +19,10 @@
#ifndef SWSCALE_INTERNAL_H #ifndef SWSCALE_INTERNAL_H
#define SWSCALE_INTERNAL_H #define SWSCALE_INTERNAL_H
#ifdef HAVE_ALTIVEC_H
#include <altivec.h>
#endif
#include "../mp_msg.h" #include "../mp_msg.h"
#define MSG_WARN(args...) mp_msg(MSGT_SWS,MSGL_WARN, ##args ) #define MSG_WARN(args...) mp_msg(MSGT_SWS,MSGL_WARN, ##args )