aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/asmlib/defs.asm
blob: db313e6cf137a9b1c1b8816ded2d1029db5b678b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
%ifdef UNIX
    %ifdef DARWIN
        %define EXP(x) _ %+ x
    %else
        %define EXP(x) x
    %endif
%else
    %define EXP(x) _ %+ x
    %define WINDOWS
%endif

%define ALLOW_OVERRIDE 1

%ifdef WINDOWS
    %define WEAK_SYM(x) global x
%else
    %ifdef DARWIN
        %define WEAK_SYM(x) global x
    %else
        %define WEAK_SYM(x) weak x
    %endif
%endif