Browse Source

Fix compilation (with -st option) of compiler for macos OS target

git-svn-id: trunk@41065 -
pierre 6 years ago
parent
commit
29bcef2825
2 changed files with 3 additions and 4 deletions
  1. 3 0
      compiler/cfileutl.pas
  2. 0 4
      compiler/fpcdefs.inc

+ 3 - 0
compiler/cfileutl.pas

@@ -37,6 +37,9 @@ interface
 {$if defined(go32v2) or defined(watcom)}
       Dos,
 {$endif}
+{$ifdef macos}
+      macutils,
+{$endif macos}
 {$IFNDEF USE_FAKE_SYSUTILS}
       SysUtils,
 {$ELSE}

+ 0 - 4
compiler/fpcdefs.inc

@@ -298,10 +298,6 @@
   {$define cpurequiresproperalignment}
 {$endif riscv64}
 
-{$IFDEF MACOS}
-{$DEFINE USE_FAKE_SYSUTILS}
-{$ENDIF MACOS}
-
 { Stabs is not officially supported on 64 bit targets by gdb, except on Mac OS X
   (but there we don't support it)
 }