Browse Source

* fixed compilation of tests.rtti.attrtypes2.pp on the WASI platform

Nikolay Nikolov 2 weeks ago
parent
commit
f53b738089
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/rtl-objpas/tests/tests.rtti.attrtypes2.pp

+ 1 - 1
packages/rtl-objpas/tests/tests.rtti.attrtypes2.pp

@@ -10,7 +10,7 @@ uses
   SysUtils,
   TypInfo,
   Rtti
-  {$ifndef Windows},
+  {$if not defined(Windows) and not defined(WASI)},
   ffi.manager
   {$endif};