src/hermes/common.inc
author Ozkan Sezer <sezeroz@gmail.com>
Sat, 24 Mar 2018 22:30:50 +0300
branchSDL-1.2
changeset 11968 1cd1e81d6d66
parent 1872 d76c3909b244
permissions -rw-r--r--
hermes asm: declare segments with proper attributes for OS/2 386 builds
     1 ; Some common macros for hermes nasm code
     2 
     3 %macro SDL_FUNC 1
     4 %ifdef HIDDEN_VISIBILITY
     5 GLOBAL %1:function hidden
     6 %else
     7 GLOBAL %1
     8 %endif
     9 %endmacro
    10 
    11 %ifdef __OS2__
    12 ; declare segments with proper attributes for OS/2 386 builds:
    13 SEGMENT .data CLASS=DATA ALIGN=16 USE32 FLAT
    14 SEGMENT .text CLASS=CODE ALIGN=16 USE32 FLAT
    15 %endif