Browse Source

* Add cthreads

Michaël Van Canneyt 2 years ago
parent
commit
3c07686687
1 changed files with 5 additions and 1 deletions
  1. 5 1
      utils/h2pas/fpmake.pp

+ 5 - 1
utils/h2pas/fpmake.pp

@@ -2,7 +2,11 @@
 {$mode objfpc}{$H+}
 program fpmake;
 
-uses fpmkunit;
+uses 
+{$ifdef unix}
+  cthreads,
+{$endif}
+  fpmkunit;
 {$endif ALLPACKAGES}
 
 procedure add_h2pas(const ADirectory: string);