Browse Source

* Add cthreads

Michaël Van Canneyt 2 years ago
parent
commit
2b15f243bd
1 changed files with 6 additions and 2 deletions
  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}