:private_extern only applies to macho. Match x86inc.asm logic:
%if FORMAT_ELF
global %2:function hidden
%elif FORMAT_MACHO
global %2:private_extern
%else
global %2
%endif
May fix a build issue on windows:
vp8/encoder/x86/block_error_sse2.asm:18: error:
COFF format does not support any special symbol types
BUG=webm:1679
Change-Id: I7e1f4043b064a04752d1cedd030cbe7f5461fe40
%define PRIVATE :function hidden
%elifidn __OUTPUT_FORMAT__,elfx32
%define PRIVATE :function hidden
- %elif LIBVPX_YASM_WIN64
- %define PRIVATE
- %else
+ %elifidn __OUTPUT_FORMAT__,macho32
%define PRIVATE :private_extern
+ %elifidn __OUTPUT_FORMAT__,macho64
+ %define PRIVATE :private_extern
+ %else
+ %define PRIVATE
%endif
%else
%define PRIVATE