Browse Source

* fixed darwin compilation

git-svn-id: trunk@6310 -
Jonas Maebe 18 years ago
parent
commit
5ea26c5f5f
1 changed files with 3 additions and 1 deletions
  1. 3 1
      rtl/i386/i386.inc

+ 3 - 1
rtl/i386/i386.inc

@@ -94,7 +94,7 @@ function mmx_support : boolean;
        mmx_support:=false;
   end;
 
-{$ifndef INTERNALMOVEFILLCHAR}
+{$if not defined(INTERNALMOVEFILLCHAR) and not defined(Darwin)}
 {$define USE_FASTMOVE}
 {$i fastmove.inc}
 {$endif INTERNALMOVEFILLCHAR}
@@ -1235,7 +1235,9 @@ procedure fpc_cpucodeinit;
     has_sse_support:=sse_support;
     has_mmx_support:=mmx_support;
     SysResetFPU;
+{$ifndef darwin}
     setup_fastmove;
+{$endif}
   end;