summaryrefslogtreecommitdiff
path: root/libavcodec/i386/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/i386/mathops.h
parent99545457bf1175d55e4eaa2c061dbf0faeb661ec (diff)
add multiple inclusion guards to headers
Originally committed as revision 9345 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/mathops.h')
-rw-r--r--libavcodec/i386/mathops.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/i386/mathops.h b/libavcodec/i386/mathops.h
index 3553a4025a..9cd616879f 100644
--- a/libavcodec/i386/mathops.h
+++ b/libavcodec/i386/mathops.h
@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVCODEC_X86_MATHOPS_H
+#define AVCODEC_X86_MATHOPS_H
+
#ifdef FRAC_BITS
# define MULL(ra, rb) \
({ int rt, dummy; asm (\
@@ -39,3 +42,4 @@
asm ("imull %2\n\t" : "=A"(rt) : "a" (ra), "g" (rb));\
rt; })
+#endif