Explorar o código

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

git-svn-id: trunk@41065 -
pierre %!s(int64=6) %!d(string=hai) anos
pai
achega
29bcef2825
Modificáronse 2 ficheiros con 3 adicións e 4 borrados
  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)
 }