@@ -8,7 +8,7 @@ program talign2;
{$ifdef fpc}
{$mode objfpc}
{$define haswidestring}
-{$ifdef go32v2}
+{$if defined(go32v2) or defined(wasi)}
{$define USE_INTERNAL_UNICODE}
{$endif}
@@ -1,4 +1,4 @@
@@ -2,7 +2,7 @@ program tcpstr13;
// check that copy operation converts from 866 to DefaultSystemCodePage encoding
@@ -1,6 +1,6 @@
// to have correct test result with delphi set codepage option to 65001
program tcpstr17;
@@ -6,7 +6,7 @@ program tcpstr18;
{$codepage cp866}
@@ -6,7 +6,7 @@ program tcpstr19;
// this test can be only run with the compiler built right now on the
// same system
@@ -1,5 +1,5 @@
{ %skiptarget=android }
{$apptype console}
-{$ifdef go32v2}
+{$if defined(go32v2) or defined(wasi)}
@@ -4,7 +4,7 @@
DefaultSystemCodePage before calling widestringmanager.ansi2widemoveproc
}
{$APPTYPE CONSOLE}
// test "fpc_AnsiStr_Concat_multi" with a same type(same encoding)
// test "fpc_AnsiStr_Concat_multi" with a differant types(encodings)
{$mode objfpc} {$H+}
@@ -3,7 +3,7 @@
{$endif fpc}
{%skiptarget=wince}
{$codepage utf-8}
@@ -5,7 +5,7 @@
@@ -1,7 +1,7 @@
{$codepage utf8}
@@ -4,7 +4,7 @@ program tstrutils1;
{$h+}
program tstrutils2;
@@ -13,7 +13,7 @@ Program tdir;
{$I-}
{$mode objfpc}{$h+}
@@ -24,7 +24,7 @@
{$mode delphi}
@@ -22,7 +22,7 @@ program TFExpand;
{$DEFINE DEBUG}
(* Defining DEBUG causes all the source and target strings *)
(* to be written to the console to make debugging easier. *)
@@ -2,7 +2,7 @@
{ %interactive }
@@ -23,7 +23,7 @@
@@ -25,7 +25,7 @@
{$modeswitch unicodestrings}