Browse Source

* Fix running under linux: cwthread needed

Michael VAN CANNEYT 2 năm trước cách đây
mục cha
commit
8be4a8f905
1 tập tin đã thay đổi với 4 bổ sung3 xóa
  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,