Quellcode durchsuchen

* Fix running under linux: cwthread needed

Michael VAN CANNEYT vor 2 Jahren
Ursprung
Commit
8be4a8f905
1 geänderte Dateien mit 4 neuen und 3 gelöschten Zeilen
  1. 4 3
      utils/fpmake.pp

+ 4 - 3
utils/fpmake.pp

@@ -22,9 +22,10 @@ program fpmake;
 {$endif NO_UNIT_PROCESS}
 
 uses
-{$IFNDEF NO_THREADING}
-{$IFDEF UNIX} cthreads, cwstring, {$ENDIF}
-{$ENDIF}
+{$ifdef unix}
+  cwstring,
+  cthreads,
+{$endif}
   fpmkunit,
 {$IFDEF HAS_UNIT_PROCESS}
   process,