浏览代码

* Add cthreads

Michaël Van Canneyt 2 年之前
父节点
当前提交
2b15f243bd
共有 1 个文件被更改,包括 6 次插入2 次删除
  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}