git-svn-id: trunk@29829 -
@@ -21,7 +21,7 @@ program talign2;
{$ifdef fpc}
{$ifdef unix}
uses
- cwstring;
+ {$ifdef darwin}iosxwstr{$else}cwstring{$endif};
{$endif}
@@ -1,6 +1,6 @@
type
@@ -6,7 +6,7 @@ program tcpstr13;
@@ -8,7 +8,7 @@ program tcpstr17;
const
procedure TestRawByte(const Source: RawByteString; cp: word; const reason: integer);
@@ -12,7 +12,7 @@ program tcpstr19;
- {$ifdef unix} cwstring, {$endif}
+ {$ifdef unix} {$ifdef darwin}iosxwstr{$else}cwstring{$endif}, {$endif}
SysUtils;
var
S: AnsiString;
@@ -2,7 +2,7 @@
program tcpstr9;
{$mode delphiunicode}
{$apptype console}
-{$ifdef unix} uses cwstring; {$endif}
+{$ifdef unix} uses {$ifdef darwin}iosxwstr{$else}cwstring{$endif}; {$endif}
begin
// this test can be only run with the compiler built right now on the
// same system
@@ -1,7 +1,7 @@
{$apptype console}
- cwstring,
+ {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
{$endif unix}
sysutils;
uses
@@ -6,7 +6,7 @@
{$r+}
{$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+}
@@ -8,7 +8,7 @@ program tstrutils1;
{SysUtils, }
StrUtils;
@@ -10,7 +10,7 @@ program tstrutils2;
StrUtils
- ,cwstring
+ ,{$ifdef darwin}iosxwstr{$else}cwstring{$endif}
;
{$ifdef UNIX}
{$endif UNIX}
@@ -5,7 +5,7 @@
- cthreads, cwstring,
+ cthreads, {$ifdef darwin}iosxwstr{$else}cwstring{$endif},
Classes, SysUtils;
{$codepage utf-8}
@@ -8,7 +8,7 @@
@@ -15,7 +15,7 @@ Program tdir;
procedure test(value, required: longint);
@@ -3,7 +3,7 @@
@@ -26,7 +26,7 @@
@@ -28,7 +28,7 @@ uses
PopupErr,
{$endif FPC}
@@ -4,7 +4,7 @@
clocale,
@@ -27,7 +27,7 @@
@@ -4,7 +4,7 @@ program fpctest4;
{$endif fpc}
Classes,sysutils,variants,typinfo;
{$mode objfpc}{$H+}
-{$ifdef unix}cwstring,{$endif}
+{$ifdef unix}{$ifdef darwin}iosxwstr{$else}cwstring{$endif},{$endif}
s: ansistring;
@@ -9,7 +9,7 @@ program test;
Classes,SysUtils,uw13015;
@@ -4,7 +4,7 @@ program comparetext;
sysutils
@@ -4,7 +4,7 @@ program outpar;
{$ifdef FPC}{$mode objfpc}{$h+}{$endif}
{$ifdef mswindows}{$apptype console}{$endif}
- {$ifdef FPC}{$ifdef unix}cthreads,cwstring,{$endif}{$endif}
+ {$ifdef FPC}{$ifdef unix}cthreads,{$ifdef darwin}iosxwstr{$else}cwstring{$endif},{$endif}{$endif}
{$ifndef FPC}
@@ -5,7 +5,7 @@ program concatenate_resourestrings_delphiunicode;
resourcestring
program TestStrIComp;
- {$ifdef unix}cwstring,{$endif}
+ {$ifdef unix}{$ifdef darwin}iosxwstr{$else}cwstring{$endif},{$endif}
var l: longint;
{ Submitted by "Matthias Hryniszak" on 2005-02-26 }
{ e-mail: [email protected] }
- {$ifdef unix}cwstring, {$endif}SysUtils;
+ {$ifdef unix}{$ifdef darwin}iosxwstr{$else}cwstring{$endif}, {$endif}SysUtils;
S: WideString;
@@ -3,7 +3,7 @@ program tw4080;
@@ -2,7 +2,7 @@ program av;
{$ifdef FPC}{$mode objfpc}{$h+}{$INTERFACES CORBA}{$endif}
- {$ifdef FPC}{$ifdef unix}cthreads,cwstring,{$endif}{$endif}sysutils;
+ {$ifdef FPC}{$ifdef unix}cthreads,{$ifdef darwin}iosxwstr{$else}cwstring{$endif},{$endif}{$endif}sysutils;
testrecty = record
str: widestring;
variants,sysutils;
var a:variant;