浏览代码

* ifdef on wasip1 when setting the source OS info to wasip1

Nikolay Nikolov 6 月之前
父节点
当前提交
251ca6b658
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      compiler/systems/i_wasi.pas

+ 2 - 2
compiler/systems/i_wasi.pas

@@ -105,8 +105,8 @@ unit i_wasi;
 
 initialization
 {$ifdef CPUWASM32}
-  {$ifdef wasi}
+  {$ifdef wasip1}
     set_source_info(system_wasm32_wasip1_info);
-  {$endif wasi}
+  {$endif wasip1}
 {$endif CPUWASM32}
 end.