Ver Fonte

* Fix running under linux: cwthread needed

Michael VAN CANNEYT há 2 anos atrás
pai
commit
8be4a8f905
1 ficheiros alterados com 4 adições e 3 exclusões
  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,