From: Diego Biurrun Date: Wed, 31 Oct 2012 19:23:54 +0000 (-0700) Subject: x86inc: only define program_name if the macro is unset. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00cc16001b35a71ce2329e02bff6e316201cf700;p=libx264 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. --- diff --git a/common/x86/x86inc.asm b/common/x86/x86inc.asm index 9da71593..ac9f9709 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