forked from 0ad/0ad
olsner
7d4af5979b
# The engine now builds and runs on Mac OS X. Most changes were localized to the sysdep/ folder and the build system. This is what porting should be like! Hopefully nothing breaks on the other platforms though ;-) This was SVN commit r5081.
18 lines
520 B
PHP
18 lines
520 B
PHP
|
|
; set section attributes
|
|
; section .data data align=32 use32
|
|
; section .bss bss align=16 use32
|
|
; section .text code align=64 use32
|
|
; activate .text (needs to be separate because __SECT__ will otherwise
|
|
; complain that the above definition is redeclaring attributes)
|
|
section .text
|
|
|
|
; Usage:
|
|
; use sym(ia32_cap) instead of _ia32_cap - on relevant platforms, sym() will add
|
|
; the underlines automagically, on others it won't
|
|
%ifdef DONT_USE_UNDERLINE
|
|
%define sym(a) a
|
|
%else
|
|
%define sym(a) _ %+ a
|
|
%endif
|