summaryrefslogtreecommitdiff
path: root/libavcodec/i386/mathops.h
diff options
context:
space:
mode:
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