Browse Source

* use iosxwstr instead of cwstring on Darwin (for iOS 7+ testing)

git-svn-id: trunk@29829 -
Jonas Maebe 10 years ago
parent
commit
3f5e95791b
61 changed files with 61 additions and 61 deletions
  1. 1 1
      tests/test/talign2.pp
  2. 1 1
      tests/test/tcpstr1.pp
  3. 1 1
      tests/test/tcpstr13.pp
  4. 1 1
      tests/test/tcpstr17.pp
  5. 1 1
      tests/test/tcpstr18.pp
  6. 1 1
      tests/test/tcpstr19.pp
  7. 1 1
      tests/test/tcpstr9.pp
  8. 1 1
      tests/test/tcpstransistr2shortstring.pp
  9. 1 1
      tests/test/tcpstransistr2widechararray.pp
  10. 1 1
      tests/test/tcpstransistr2widechararray2.pp
  11. 1 1
      tests/test/tcpstransistrcompare.pp
  12. 1 1
      tests/test/tcpstransistrcompareequal.pp
  13. 1 1
      tests/test/tcpstransistrcopy.pp
  14. 1 1
      tests/test/tcpstrchar2ansistr.pp
  15. 1 1
      tests/test/tcpstrconcat.pp
  16. 1 1
      tests/test/tcpstrconcat2.pp
  17. 1 1
      tests/test/tcpstrconcat3.pp
  18. 1 1
      tests/test/tcpstrconcatmulti.pp
  19. 1 1
      tests/test/tcpstrconcatmulti2.pp
  20. 1 1
      tests/test/tcpstrpchar2ansistr.pp
  21. 1 1
      tests/test/tcpstrsetlength.pp
  22. 1 1
      tests/test/tcpstrsetlength2.pp
  23. 1 1
      tests/test/tcpstrshortstr2ansistr.pp
  24. 1 1
      tests/test/tstrutils1.pp
  25. 1 1
      tests/test/tstrutils2.pp
  26. 1 1
      tests/test/tunistr1.pp
  27. 1 1
      tests/test/tunistr2.pp
  28. 1 1
      tests/test/tunistr4.pp
  29. 1 1
      tests/test/tunistr6.pp
  30. 1 1
      tests/test/tunistr7.pp
  31. 1 1
      tests/test/twide1.pp
  32. 1 1
      tests/test/twide2.pp
  33. 1 1
      tests/test/twide3.pp
  34. 1 1
      tests/test/twide4.pp
  35. 1 1
      tests/test/twide6.pp
  36. 1 1
      tests/test/twide7.pp
  37. 1 1
      tests/test/twrstr9.pp
  38. 1 1
      tests/test/units/system/tdir2.pp
  39. 1 1
      tests/test/units/system/tfiledir.pp
  40. 1 1
      tests/test/units/sysutils/tastrcmp.pp
  41. 1 1
      tests/test/units/sysutils/tfexpand2.pp
  42. 1 1
      tests/test/units/sysutils/tffirst.pp
  43. 1 1
      tests/test/units/sysutils/tlocale.pp
  44. 1 1
      tests/test/units/sysutils/tstrcmp.pp
  45. 1 1
      tests/test/units/sysutils/tunifile.pp
  46. 1 1
      tests/test/units/sysutils/twstrcmp.pp
  47. 1 1
      tests/webtbs/tw10482.pp
  48. 1 1
      tests/webtbs/tw11791.pp
  49. 1 1
      tests/webtbs/tw12993.pp
  50. 1 1
      tests/webtbs/tw13015.pp
  51. 1 1
      tests/webtbs/tw13075.pp
  52. 1 1
      tests/webtbs/tw17591.pp
  53. 1 1
      tests/webtbs/tw20962.pp
  54. 1 1
      tests/webtbs/tw25198.pp
  55. 1 1
      tests/webtbs/tw3235a.pp
  56. 1 1
      tests/webtbs/tw3697.pp
  57. 1 1
      tests/webtbs/tw4080.pp
  58. 1 1
      tests/webtbs/tw7006.pp
  59. 1 1
      tests/webtbs/tw7758.pp
  60. 1 1
      tests/webtbs/tw7758a.pp
  61. 1 1
      tests/webtbs/tw9161.pp

+ 1 - 1
tests/test/talign2.pp

@@ -21,7 +21,7 @@ program talign2;
 {$ifdef fpc}
 {$ifdef fpc}
 {$ifdef unix}
 {$ifdef unix}
 uses
 uses
-  cwstring;
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif};
 {$endif}
 {$endif}
 {$endif}
 {$endif}
 
 

+ 1 - 1
tests/test/tcpstr1.pp

@@ -1,6 +1,6 @@
 {$ifdef unix}
 {$ifdef unix}
 uses
 uses
-  cwstring;
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif};
 {$endif}
 {$endif}
 
 
 type
 type

+ 1 - 1
tests/test/tcpstr13.pp

@@ -6,7 +6,7 @@ program tcpstr13;
 
 
 {$ifdef unix}
 {$ifdef unix}
 uses
 uses
-  cwstring;
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif};
 {$endif}
 {$endif}
 
 
 type
 type

+ 1 - 1
tests/test/tcpstr17.pp

@@ -8,7 +8,7 @@ program tcpstr17;
 
 
 {$ifdef unix}
 {$ifdef unix}
 uses
 uses
-  cwstring;
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif};
 {$endif}
 {$endif}
 
 
 const
 const

+ 1 - 1
tests/test/tcpstr18.pp

@@ -8,7 +8,7 @@ program tcpstr17;
 
 
 {$ifdef unix}
 {$ifdef unix}
 uses
 uses
-  cwstring;
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif};
 {$endif}
 {$endif}
 
 
 procedure TestRawByte(const Source: RawByteString; cp: word; const reason: integer);
 procedure TestRawByte(const Source: RawByteString; cp: word; const reason: integer);

+ 1 - 1
tests/test/tcpstr19.pp

@@ -12,7 +12,7 @@ program tcpstr19;
 {$endif}
 {$endif}
 
 
 uses
 uses
-  {$ifdef unix} cwstring, {$endif}
+  {$ifdef unix} {$ifdef darwin}iosxwstr{$else}cwstring{$endif}, {$endif}
   SysUtils;
   SysUtils;
 var
 var
   S: AnsiString;
   S: AnsiString;

+ 1 - 1
tests/test/tcpstr9.pp

@@ -2,7 +2,7 @@
 program tcpstr9;
 program tcpstr9;
 {$mode delphiunicode}
 {$mode delphiunicode}
 {$apptype console}
 {$apptype console}
-{$ifdef unix} uses cwstring; {$endif}
+{$ifdef unix} uses {$ifdef darwin}iosxwstr{$else}cwstring{$endif}; {$endif}
 begin
 begin
   // this test can be only run with the compiler built right now on the
   // this test can be only run with the compiler built right now on the
   // same system
   // same system

+ 1 - 1
tests/test/tcpstransistr2shortstring.pp

@@ -1,7 +1,7 @@
 {$apptype console}
 {$apptype console}
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif unix}
 {$endif unix}
   sysutils;
   sysutils;
   
   

+ 1 - 1
tests/test/tcpstransistr2widechararray.pp

@@ -1,6 +1,6 @@
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif unix}
 {$endif unix}
   sysutils;
   sysutils;
   
   

+ 1 - 1
tests/test/tcpstransistr2widechararray2.pp

@@ -6,7 +6,7 @@
 
 
 {$ifdef unix}
 {$ifdef unix}
 uses
 uses
-  cwstring;
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif};
 {$endif}
 {$endif}
 {$r+}
 {$r+}
 var
 var

+ 1 - 1
tests/test/tcpstransistrcompare.pp

@@ -1,6 +1,6 @@
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif unix}
 {$endif unix}
   SysUtils;
   SysUtils;
   
   

+ 1 - 1
tests/test/tcpstransistrcompareequal.pp

@@ -1,6 +1,6 @@
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif unix}
 {$endif unix}
   SysUtils;
   SysUtils;
   
   

+ 1 - 1
tests/test/tcpstransistrcopy.pp

@@ -1,6 +1,6 @@
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif unix}
 {$endif unix}
   sysutils;
   sysutils;
   
   

+ 1 - 1
tests/test/tcpstrchar2ansistr.pp

@@ -1,6 +1,6 @@
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif unix}
 {$endif unix}
   sysutils;
   sysutils;
   
   

+ 1 - 1
tests/test/tcpstrconcat.pp

@@ -1,7 +1,7 @@
 {$APPTYPE CONSOLE}
 {$APPTYPE CONSOLE}
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif unix}
 {$endif unix}
   SysUtils;
   SysUtils;
 
 

+ 1 - 1
tests/test/tcpstrconcat2.pp

@@ -1,7 +1,7 @@
 {$APPTYPE CONSOLE}
 {$APPTYPE CONSOLE}
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif unix}
 {$endif unix}
   SysUtils;
   SysUtils;
 
 

+ 1 - 1
tests/test/tcpstrconcat3.pp

@@ -1,7 +1,7 @@
 {$APPTYPE CONSOLE}
 {$APPTYPE CONSOLE}
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif unix}
 {$endif unix}
   SysUtils;
   SysUtils;
   
   

+ 1 - 1
tests/test/tcpstrconcatmulti.pp

@@ -2,7 +2,7 @@
 // test "fpc_AnsiStr_Concat_multi" with a same type(same encoding) 
 // test "fpc_AnsiStr_Concat_multi" with a same type(same encoding) 
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif unix}
 {$endif unix}
   SysUtils;
   SysUtils;
   
   

+ 1 - 1
tests/test/tcpstrconcatmulti2.pp

@@ -2,7 +2,7 @@
 // test "fpc_AnsiStr_Concat_multi" with a differant types(encodings) 
 // test "fpc_AnsiStr_Concat_multi" with a differant types(encodings) 
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif unix}
 {$endif unix}
   SysUtils;
   SysUtils;
 
 

+ 1 - 1
tests/test/tcpstrpchar2ansistr.pp

@@ -1,6 +1,6 @@
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif unix}
 {$endif unix}
   sysutils;
   sysutils;
   
   

+ 1 - 1
tests/test/tcpstrsetlength.pp

@@ -1,6 +1,6 @@
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif unix}
 {$endif unix}
   SysUtils;
   SysUtils;
 
 

+ 1 - 1
tests/test/tcpstrsetlength2.pp

@@ -1,6 +1,6 @@
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif unix}
 {$endif unix}
   SysUtils;
   SysUtils;
 
 

+ 1 - 1
tests/test/tcpstrshortstr2ansistr.pp

@@ -1,7 +1,7 @@
 {$mode objfpc} {$H+}
 {$mode objfpc} {$H+}
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif unix}
 {$endif unix}
   sysutils;
   sysutils;
   
   

+ 1 - 1
tests/test/tstrutils1.pp

@@ -8,7 +8,7 @@ program tstrutils1;
 uses
 uses
   {SysUtils, }
   {SysUtils, }
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif unix}
 {$endif unix}
   StrUtils;
   StrUtils;
 
 

+ 1 - 1
tests/test/tstrutils2.pp

@@ -10,7 +10,7 @@ program tstrutils2;
 uses
 uses
   StrUtils
   StrUtils
 {$ifdef unix}
 {$ifdef unix}
-  ,cwstring
+  ,{$ifdef darwin}iosxwstr{$else}cwstring{$endif}
 {$endif unix}
 {$endif unix}
   ;
   ;
 
 

+ 1 - 1
tests/test/tunistr1.pp

@@ -1,6 +1,6 @@
 {$ifdef unix}
 {$ifdef unix}
 uses
 uses
-  cwstring;
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif};
 {$endif unix}
 {$endif unix}
 
 
 var
 var

+ 1 - 1
tests/test/tunistr2.pp

@@ -1,6 +1,6 @@
 {$ifdef UNIX}
 {$ifdef UNIX}
 uses
 uses
-  cwstring;
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif};
 {$endif UNIX}
 {$endif UNIX}
 
 
 var
 var

+ 1 - 1
tests/test/tunistr4.pp

@@ -5,7 +5,7 @@
 
 
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cthreads, cwstring,
+  cthreads, {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif}
 {$endif}
   Classes, SysUtils;
   Classes, SysUtils;
 
 

+ 1 - 1
tests/test/tunistr6.pp

@@ -2,7 +2,7 @@
 {$codepage utf-8}
 {$codepage utf-8}
 uses
 uses
   {$ifdef unix}
   {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
   {$endif}
   {$endif}
   sysutils;
   sysutils;
 
 

+ 1 - 1
tests/test/tunistr7.pp

@@ -2,7 +2,7 @@
 
 
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif unix}
 {$endif unix}
   sysutils;
   sysutils;
 
 

+ 1 - 1
tests/test/twide1.pp

@@ -1,6 +1,6 @@
 {$ifdef unix}
 {$ifdef unix}
 uses
 uses
-  cwstring;
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif};
 {$endif unix}
 {$endif unix}
   
   
 var
 var

+ 1 - 1
tests/test/twide2.pp

@@ -1,6 +1,6 @@
 {$ifdef UNIX}
 {$ifdef UNIX}
 uses
 uses
-  cwstring;
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif};
 {$endif UNIX}
 {$endif UNIX}
 
 
 var
 var

+ 1 - 1
tests/test/twide3.pp

@@ -8,7 +8,7 @@
 
 
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif}
 {$endif}
   SysUtils;
   SysUtils;
 
 

+ 1 - 1
tests/test/twide4.pp

@@ -5,7 +5,7 @@
 
 
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cthreads, cwstring,
+  cthreads, {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif}
 {$endif}
   Classes, SysUtils;
   Classes, SysUtils;
 
 

+ 1 - 1
tests/test/twide6.pp

@@ -2,7 +2,7 @@
 {$codepage utf-8}
 {$codepage utf-8}
 uses
 uses
  {$ifdef unix}
  {$ifdef unix}
- cwstring,
+ {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
  {$endif}
  {$endif}
   sysutils;
   sysutils;
 
 

+ 1 - 1
tests/test/twide7.pp

@@ -2,7 +2,7 @@
 
 
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif unix}
 {$endif unix}
   sysutils;
   sysutils;
 
 

+ 1 - 1
tests/test/twrstr9.pp

@@ -2,7 +2,7 @@
 
 
 {$ifdef unix}
 {$ifdef unix}
 uses
 uses
-  cwstring;
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif};
 {$endif}
 {$endif}
 
 
 type
 type

+ 1 - 1
tests/test/units/system/tdir2.pp

@@ -15,7 +15,7 @@ Program tdir;
 
 
 {$ifdef unix}
 {$ifdef unix}
 uses
 uses
-  cwstring;
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif};
 {$endif}
 {$endif}
 
 
 procedure test(value, required: longint);
 procedure test(value, required: longint);

+ 1 - 1
tests/test/units/system/tfiledir.pp

@@ -3,7 +3,7 @@
 
 
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif}
 {$endif}
   sysutils;
   sysutils;
 
 

+ 1 - 1
tests/test/units/sysutils/tastrcmp.pp

@@ -26,7 +26,7 @@
 
 
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif unix}
 {$endif unix}
   SysUtils;
   SysUtils;
 
 

+ 1 - 1
tests/test/units/sysutils/tfexpand2.pp

@@ -28,7 +28,7 @@ uses
  PopupErr,
  PopupErr,
 {$endif FPC}
 {$endif FPC}
 {$ifdef unix}
 {$ifdef unix}
- cwstring,
+ {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif}
 {$endif}
  SysUtils;
  SysUtils;
 
 

+ 1 - 1
tests/test/units/sysutils/tffirst.pp

@@ -4,7 +4,7 @@
 
 
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif}
 {$endif}
   SysUtils;
   SysUtils;
 
 

+ 1 - 1
tests/test/units/sysutils/tlocale.pp

@@ -2,7 +2,7 @@
 
 
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
   clocale,
   clocale,
 {$endif}
 {$endif}
   SysUtils;
   SysUtils;

+ 1 - 1
tests/test/units/sysutils/tstrcmp.pp

@@ -26,7 +26,7 @@
 
 
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif unix}
 {$endif unix}
   SysUtils;
   SysUtils;
 
 

+ 1 - 1
tests/test/units/sysutils/tunifile.pp

@@ -3,7 +3,7 @@
 
 
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif}
 {$endif}
   sysutils;
   sysutils;
 
 

+ 1 - 1
tests/test/units/sysutils/twstrcmp.pp

@@ -27,7 +27,7 @@
 
 
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif unix}
 {$endif unix}
   SysUtils;
   SysUtils;
 
 

+ 1 - 1
tests/webtbs/tw10482.pp

@@ -4,7 +4,7 @@ program fpctest4;
 {$endif fpc}
 {$endif fpc}
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif}
 {$endif}
   Classes,sysutils,variants,typinfo;
   Classes,sysutils,variants,typinfo;
 
 

+ 1 - 1
tests/webtbs/tw11791.pp

@@ -1,7 +1,7 @@
 {$mode objfpc}{$H+}
 {$mode objfpc}{$H+}
 
 
 uses
 uses
-{$ifdef unix}cwstring,{$endif}
+{$ifdef unix}{$ifdef darwin}iosxwstr{$else}cwstring{$endif},{$endif}
 Classes, SysUtils;
 Classes, SysUtils;
 
 
 
 

+ 1 - 1
tests/webtbs/tw12993.pp

@@ -2,7 +2,7 @@
 
 
 {$ifdef unix}
 {$ifdef unix}
 uses
 uses
-  cwstring;
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif};
 {$endif}
 {$endif}
 var
 var
   s: ansistring;
   s: ansistring;

+ 1 - 1
tests/webtbs/tw13015.pp

@@ -9,7 +9,7 @@ program test;
 
 
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
- cwstring,
+ {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif}
 {$endif}
  Classes,SysUtils,uw13015;
  Classes,SysUtils,uw13015;
 
 

+ 1 - 1
tests/webtbs/tw13075.pp

@@ -3,7 +3,7 @@
 
 
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif}
 {$endif}
   Classes, SysUtils;
   Classes, SysUtils;
 
 

+ 1 - 1
tests/webtbs/tw17591.pp

@@ -4,7 +4,7 @@ program comparetext;
 uses
 uses
  sysutils
  sysutils
 {$ifdef unix}
 {$ifdef unix}
- ,cwstring
+ ,{$ifdef darwin}iosxwstr{$else}cwstring{$endif}
 {$endif}
 {$endif}
 ;
 ;
 var
 var

+ 1 - 1
tests/webtbs/tw20962.pp

@@ -4,7 +4,7 @@ program outpar;
 {$ifdef FPC}{$mode objfpc}{$h+}{$endif}
 {$ifdef FPC}{$mode objfpc}{$h+}{$endif}
 {$ifdef mswindows}{$apptype console}{$endif}
 {$ifdef mswindows}{$apptype console}{$endif}
 uses
 uses
- {$ifdef FPC}{$ifdef unix}cthreads,cwstring,{$endif}{$endif}
+ {$ifdef FPC}{$ifdef unix}cthreads,{$ifdef darwin}iosxwstr{$else}cwstring{$endif},{$endif}{$endif}
  sysutils;
  sysutils;
 {$ifndef FPC}
 {$ifndef FPC}
 type
 type

+ 1 - 1
tests/webtbs/tw25198.pp

@@ -5,7 +5,7 @@ program concatenate_resourestrings_delphiunicode;
 
 
 {$ifdef unix}
 {$ifdef unix}
 uses
 uses
-  cwstring;
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif};
 {$endif}
 {$endif}
 
 
 resourcestring
 resourcestring

+ 1 - 1
tests/webtbs/tw3235a.pp

@@ -1,6 +1,6 @@
 program TestStrIComp;
 program TestStrIComp;
   uses
   uses
-    {$ifdef unix}cwstring,{$endif}
+    {$ifdef unix}{$ifdef darwin}iosxwstr{$else}cwstring{$endif},{$endif}
     SysUtils;
     SysUtils;
 
 
 var l: longint;
 var l: longint;

+ 1 - 1
tests/webtbs/tw3697.pp

@@ -2,7 +2,7 @@
 { Submitted by "Matthias Hryniszak" on  2005-02-26 }
 { Submitted by "Matthias Hryniszak" on  2005-02-26 }
 { e-mail: [email protected] }
 { e-mail: [email protected] }
 uses
 uses
-  {$ifdef unix}cwstring, {$endif}SysUtils;
+  {$ifdef unix}{$ifdef darwin}iosxwstr{$else}cwstring{$endif}, {$endif}SysUtils;
 
 
 var
 var
   S: WideString;
   S: WideString;

+ 1 - 1
tests/webtbs/tw4080.pp

@@ -3,7 +3,7 @@ program tw4080;
 
 
 {$ifdef unix}
 {$ifdef unix}
 uses
 uses
-  cwstring;
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif};
 {$endif unix}
 {$endif unix}
 
 
 var
 var

+ 1 - 1
tests/webtbs/tw7006.pp

@@ -2,7 +2,7 @@ program av;
 {$ifdef FPC}{$mode objfpc}{$h+}{$INTERFACES CORBA}{$endif}
 {$ifdef FPC}{$mode objfpc}{$h+}{$INTERFACES CORBA}{$endif}
 {$ifdef mswindows}{$apptype console}{$endif}
 {$ifdef mswindows}{$apptype console}{$endif}
 uses
 uses
- {$ifdef FPC}{$ifdef unix}cthreads,cwstring,{$endif}{$endif}sysutils;
+ {$ifdef FPC}{$ifdef unix}cthreads,{$ifdef darwin}iosxwstr{$else}cwstring{$endif},{$endif}{$endif}sysutils;
 type
 type
  testrecty = record
  testrecty = record
   str: widestring;
   str: widestring;

+ 1 - 1
tests/webtbs/tw7758.pp

@@ -2,7 +2,7 @@
 
 
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif}
 {$endif}
   sysutils;
   sysutils;
 
 

+ 1 - 1
tests/webtbs/tw7758a.pp

@@ -2,7 +2,7 @@
 
 
 uses
 uses
   {$ifdef unix}
   {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
   {$endif}
   {$endif}
   sysutils;
   sysutils;
 
 

+ 1 - 1
tests/webtbs/tw9161.pp

@@ -1,6 +1,6 @@
 uses
 uses
 {$ifdef unix}
 {$ifdef unix}
-  cwstring,
+  {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
 {$endif}
 {$endif}
   variants,sysutils;
   variants,sysutils;
 var a:variant;
 var a:variant;