Explorar o código

* only enable I386_ASSEMBLER on certain platforms

git-svn-id: trunk@23028 -
nickysn %!s(int64=13) %!d(string=hai) anos
pai
achega
5640b654c9
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      packages/hermes/src/hermes.pp

+ 3 - 1
packages/hermes/src/hermes.pp

@@ -35,7 +35,9 @@ unit Hermes;
 {$MODE objfpc}
 
 {$IF defined(cpui386) and not defined(noassembler)}
-  {$DEFINE I386_ASSEMBLER}
+  {$IF defined(linux) or defined(win32) or defined(go32v2) or defined(freebsd) or defined(haiku) or defined(beos)}
+    {$DEFINE I386_ASSEMBLER}
+  {$ENDIF}
 {$ENDIF}
 
 {$IF defined(cpux86_64) and not defined(noassembler)}