Explorar o código

+ added ifdefs to set the source info for WASI

git-svn-id: branches/wasm@48360 -
nickysn %!s(int64=4) %!d(string=hai) anos
pai
achega
888368bb5e
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      compiler/systems/i_wasi.pas

+ 6 - 0
compiler/systems/i_wasi.pas

@@ -114,4 +114,10 @@ unit i_wasi;
 
   implementation
 
+initialization
+{$ifdef CPUWASM32}
+  {$ifdef wasi}
+    set_source_info(system_wasi_info);
+  {$endif wasi}
+{$endif CPUWASM32}
 end.