From 166f3993776f1713069d6518026da8b48579f633 Mon Sep 17 00:00:00 2001 From: Haruhiko Yamagata Date: Tue, 7 Feb 2012 12:27:33 -0800 Subject: [PATCH] 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 --- libavutil/x86/x86inc.asm | 2 ++ 1 file changed, 2 insertions(+) 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