Browse Source

* don't set ASMMODE to INTEL on non-x86 targets

git-svn-id: trunk@44951 -
svenbarth 5 years ago
parent
commit
06e3feb919
1 changed files with 3 additions and 1 deletions
  1. 3 1
      packages/winunits-jedi/src/jedi.inc

+ 3 - 1
packages/winunits-jedi/src/jedi.inc

@@ -401,7 +401,9 @@
 { Set FreePascal to Delphi mode }
 {$IFDEF FPC}
   {$MODE DELPHI}
-  {$ASMMODE Intel}  
+  {$IF DEFINED(CPUI386) OR DEFINED(CPUX86_64)}
+  {$ASMMODE Intel}
+  {$ENDIF CPUI386 OR CPUX86_64}
   {$UNDEF BORLAND}
    // FPC defines CPU* and Unix automatically
 {$ENDIF}