mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
Hide symbols with nasm.
Hide all cglobal symbols with nasm >= 2.
This commit is contained in:
committed by
Erik de Castro Lopo
parent
19c78e58d7
commit
49b9673c89
@@ -56,9 +56,13 @@
|
|||||||
%imacro cglobal 1
|
%imacro cglobal 1
|
||||||
%ifdef FLAC__PUBLIC_NEEDS_UNDERSCORE
|
%ifdef FLAC__PUBLIC_NEEDS_UNDERSCORE
|
||||||
global _%1
|
global _%1
|
||||||
|
%else
|
||||||
|
%if __NASM_MAJOR__ >= 2
|
||||||
|
global %1:function hidden
|
||||||
%else
|
%else
|
||||||
global %1
|
global %1
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
%endmacro
|
%endmacro
|
||||||
|
|
||||||
%imacro cextern 1
|
%imacro cextern 1
|
||||||
|
|||||||
Reference in New Issue
Block a user