summaryrefslogtreecommitdiff
path: root/libavcodec/ppc/mathops.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/ppc/mathops.h')
-rw-r--r--libavcodec/ppc/mathops.h5
1 files changed, 5 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