Browse Source

* Add cthreads

Michaël Van Canneyt 2 năm trước cách đây
mục cha
commit
2b15f243bd
1 tập tin đã thay đổi với 6 bổ sung2 xóa
  1. 6 2
      utils/fpmc/fpmake.pp

+ 6 - 2
utils/fpmc/fpmake.pp

@@ -2,7 +2,11 @@
 {$mode objfpc}{$H+}
 program fpmake;
 
-uses fpmkunit, sysutils;
+uses 
+{$ifdef unix}
+  cthreads,
+{$endif}
+  fpmkunit, sysutils;
 {$endif ALLPACKAGES}
 
 procedure add_fpmc(const ADirectory: string);
@@ -69,7 +73,7 @@ end;
 
 {$ifndef ALLPACKAGES}
 begin
-  add_fpmc;
+  add_fpmc('');
   Installer.Run;
 end.
 {$endif ALLPACKAGES}