فهرست منبع

* Fix compilation without threads

Michaël Van Canneyt 3 سال پیش
والد
کامیت
4e4fcaa8a2
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      rtl/wasi/system.pp

+ 2 - 0
rtl/wasi/system.pp

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