Skip to content

Commit

Permalink
hermes asm: declare segments with proper attributes for OS/2 386 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Mar 24, 2018
1 parent 6bb378c commit aa32ff7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/hermes/common.inc
Expand Up @@ -7,3 +7,9 @@ GLOBAL %1:function hidden
GLOBAL %1
%endif
%endmacro

%ifdef __OS2__
; declare segments with proper attributes for OS/2 386 builds:
SEGMENT .data CLASS=DATA ALIGN=16 USE32 FLAT
SEGMENT .text CLASS=CODE ALIGN=16 USE32 FLAT
%endif

0 comments on commit aa32ff7

Please sign in to comment.