diff ppc/mathops.h @ 5163:9ecbfc0c82bf libavcodec

add multiple inclusion guards to headers
author mru
date Sun, 17 Jun 2007 00:01:30 +0000
parents c8c591fe26f8
children 3fd46e281bd8
line wrap: on
line diff
--- a/ppc/mathops.h	Sat Jun 16 22:59:13 2007 +0000
+++ b/ppc/mathops.h	Sun Jun 17 00:01:30 2007 +0000
@@ -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