Browse Source

* Fix compilation without threads

Michaël Van Canneyt 2 years ago
parent
commit
4e4fcaa8a2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      rtl/wasi/system.pp

+ 2 - 0
rtl/wasi/system.pp

@@ -445,5 +445,7 @@ begin
   SysInitStdIO;
   Setup_Environment;
   Setup_PreopenedDirs;
+{$ifdef FPC_WASM_THREADS}  
   TLSInfoBlock:=Nil;
+{$endif}  
 end.