From 91b0f0e6415b9cc56b625eb77dd5b471a59d3230 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 17 Jan 2013 11:30:37 -0800 Subject: [PATCH] x86inc: rename program_name to private_prefix Synced from libav. The new name is more descriptive and will allow defining a separate public prefix for externally visible library symbols. --- common/x86/x86inc.asm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/common/x86/x86inc.asm b/common/x86/x86inc.asm index 153883cd..9a58e2d9 100644 --- a/common/x86/x86inc.asm +++ b/common/x86/x86inc.asm @@ -34,8 +34,8 @@ ; as this feature might be useful for others as well. Send patches or ideas ; to x264-devel@videolan.org . -%ifndef program_name - %define program_name x264 +%ifndef private_prefix + %define private_prefix x264 %endif %define WIN64 0 @@ -650,7 +650,7 @@ BRANCH_INSTR jz, je, jnz, jne, jl, jle, jnl, jnle, jg, jge, jng, jnge, ja, jae, %endmacro %macro cglobal_internal 1-2+ %ifndef cglobaled_%1 - %xdefine %1 mangle(program_name %+ _ %+ %1) + %xdefine %1 mangle(private_prefix %+ _ %+ %1) %xdefine %1.skip_prologue %1 %+ .skip_prologue CAT_XDEFINE cglobaled_, %1, 1 %endif @@ -674,7 +674,7 @@ BRANCH_INSTR jz, je, jnz, jne, jl, jle, jnl, jnle, jg, jge, jng, jnge, ja, jae, %endmacro %macro cextern 1 - %xdefine %1 mangle(program_name %+ _ %+ %1) + %xdefine %1 mangle(private_prefix %+ _ %+ %1) CAT_XDEFINE cglobaled_, %1, 1 extern %1 %endmacro @@ -687,7 +687,7 @@ BRANCH_INSTR jz, je, jnz, jne, jl, jle, jnl, jnle, jg, jge, jng, jnge, ja, jae, %endmacro %macro const 2+ - %xdefine %1 mangle(program_name %+ _ %+ %1) + %xdefine %1 mangle(private_prefix %+ _ %+ %1) global %1 %1: %2 %endmacro -- 2.47.3