Hide symbols with nasm.

Hide all cglobal symbols with nasm >= 2.
This commit is contained in:
Miroslav Lichvar 2012-12-03 21:04:58 +01:00 committed by Erik de Castro Lopo
parent 19c78e58d7
commit 49b9673c89

View File

@ -57,7 +57,11 @@
%ifdef FLAC__PUBLIC_NEEDS_UNDERSCORE
global _%1
%else
global %1
%if __NASM_MAJOR__ >= 2
global %1:function hidden
%else
global %1
%endif
%endif
%endmacro