Browse Source

* cthreads for unix

peter 21 years ago
parent
commit
190c8e4d3c
1 changed files with 6 additions and 1 deletions
  1. 6 1
      tests/test/tmt1.pp

+ 6 - 1
tests/test/tmt1.pp

@@ -3,7 +3,12 @@
 {$mode objfpc}
 {$mode objfpc}
 {$threading on}
 {$threading on}
 
 
-uses sysutils;
+uses
+  sysutils
+{$ifdef unix}  
+  ,cthreads  
+{$endif}  
+  ;
 
 
 const
 const
    threadcount = 100;
    threadcount = 100;