Explorar o código

* Fix running under linux: cwthread needed

Michael VAN CANNEYT %!s(int64=2) %!d(string=hai) anos
pai
achega
8be4a8f905
Modificáronse 1 ficheiros con 4 adicións e 3 borrados
  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,