Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  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
  16.