From f418867a8b76f31acf3a965eed34c5587294e948 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 31 Oct 2012 12:23:54 -0700 Subject: [PATCH] x86inc: only define program_name if the macro is unset. This allows overriding the value from outside the file. This can be useful if x86inc.asm is used outside of x264. --- common/x86/x86inc.asm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/x86/x86inc.asm b/common/x86/x86inc.asm index d7513be4..368b6f7c 100644 --- a/common/x86/x86inc.asm +++ b/common/x86/x86inc.asm @@ -34,7 +34,9 @@ ; as this feature might be useful for others as well. Send patches or ideas ; to x264-devel@videolan.org . -%define program_name x264 +%ifndef program_name + %define program_name x264 +%endif %define WIN64 0 %define UNIX64 0 -- 2.47.3