* Use cwstring on unix.

git-svn-id: trunk@23672 -
This commit is contained in:
yury 2013-02-28 19:32:06 +00:00
parent ee0a338127
commit 0ed82d7218
2 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,8 @@ program tcpstr19;
// test conversions from and to rawbytestring
// test that copy function returns the same def as argument
// this test can be only run with the compiler built right now on the
// same system
{$APPTYPE CONSOLE}
{$ifdef fpc}
@ -10,6 +12,7 @@ program tcpstr19;
{$endif}
uses
{$ifdef unix} cwstring, {$endif}
SysUtils;
var
S: AnsiString;

View File

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