summaryrefslogtreecommitdiff
path: root/libavutil/x86
diff options
context:
space:
mode:
authorHaruhiko Yamagata <h.yamagata@nifty.com>2012-02-07 12:27:33 -0800
committerRonald S. Bultje <rsbultje@gmail.com>2012-02-08 10:31:14 -0800
commit166f3993776f1713069d6518026da8b48579f633 (patch)
treeea204f03fa3f8eae549400a96f06165ea468ab86 /libavutil/x86
parentce1e250ee903392114cb2f1653aa4a722dc3dd03 (diff)
x86inc: support yasm -f win64 flag also.
This sets __OUTPUT_FORMAT__ to win64 instead of win32, even though both (through -m amd64) produce 64-bit binary code. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavutil/x86')
-rw-r--r--libavutil/x86/x86inc.asm2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/x86/x86inc.asm b/libavutil/x86/x86inc.asm
index 7758d1afd7..b20bb9a3a0 100644
--- a/libavutil/x86/x86inc.asm
+++ b/libavutil/x86/x86inc.asm
@@ -40,6 +40,8 @@
%if ARCH_X86_64
%ifidn __OUTPUT_FORMAT__,win32
%define WIN64 1
+ %elifidn __OUTPUT_FORMAT__,win64
+ %define WIN64 1
%else
%define UNIX64 1
%endif