diff options
Diffstat (limited to 'libavcodec/ppc')
-rw-r--r-- | libavcodec/ppc/mathops.h | 5 | ||||
-rw-r--r-- | libavcodec/ppc/types_altivec.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/ppc/mathops.h b/libavcodec/ppc/mathops.h index 6af23f246b..e339231a4d 100644 --- a/libavcodec/ppc/mathops.h +++ b/libavcodec/ppc/mathops.h @@ -20,6 +20,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef AVCODEC_PPC_MATHOPS_H +#define AVCODEC_PPC_MATHOPS_H + #if defined(ARCH_POWERPC_405) /* signed 16x16 -> 32 multiply add accumulate */ # define MAC16(rt, ra, rb) \ @@ -31,3 +34,5 @@ asm ("mullhw %0, %1, %2" : "=r" (__rt) : "r" (ra), "r" (rb)); __rt; }) #endif + +#endif diff --git a/libavcodec/ppc/types_altivec.h b/libavcodec/ppc/types_altivec.h index f29026e047..ca15609a2f 100644 --- a/libavcodec/ppc/types_altivec.h +++ b/libavcodec/ppc/types_altivec.h @@ -18,6 +18,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef AVCODEC_TYPES_ALTIVEC_H +#define AVCODEC_TYPES_ALTIVEC_H + /*********************************************************************** * Vector types **********************************************************************/ @@ -39,3 +42,5 @@ #define zero_s16v (vec_s16_t) zerov #define zero_u32v (vec_u32_t) zerov #define zero_s32v (vec_s32_t) zerov + +#endif |