From aa32ff7e89e34187b32c5e67cd62e6ae90c94ff5 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sat, 24 Mar 2018 22:30:50 +0300 Subject: [PATCH] hermes asm: declare segments with proper attributes for OS/2 386 builds --- src/hermes/common.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/hermes/common.inc b/src/hermes/common.inc index 9587e6ffb..9976c60b9 100644 --- a/src/hermes/common.inc +++ b/src/hermes/common.inc @@ -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