aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ppc/mathops.h
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2007-06-17 00:01:30 +0000
committerMåns Rullgård <mans@mansr.com>2007-06-17 00:01:30 +0000
commit699b3f99d0376a8fd5159bdad857228bda59cff6 (patch)
tree5df6def799acb5cb1a19d85e770ceafdc4d088a4 /libavcodec/ppc/mathops.h
parent99545457bf1175d55e4eaa2c061dbf0faeb661ec (diff)
downloadffmpeg-699b3f99d0376a8fd5159bdad857228bda59cff6.tar.gz
add multiple inclusion guards to headers
Originally committed as revision 9345 to svn://svn.ffmpeg.org/ffmpeg/trunk
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