Adds a define to enable paswstring

git-svn-id: trunk@33117 -
This commit is contained in:
sekelsenmat 2011-10-27 18:47:54 +00:00
parent ba49416b3b
commit 23818b9900
2 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,8 @@
{$define UseCLDefault} {$define UseCLDefault}
// For Android, otherwise the LCL will dependent on libc // For Android, otherwise the LCL will dependent on libc
{$IFDEF Android} {$IF defined(Android)}//defined(CPUARM) and defined(LINUX)}
{$DEFINE DisableCWString} {$DEFINE DisableCWString}
{$DEFINE DisableIconv} {$DEFINE DisableIconv}
{$DEFINE EnablePasWString}
{$ENDIF} {$ENDIF}

View File

@ -34,6 +34,7 @@ uses
{$IFDEF Darwin}MacOSAll, {$ENDIF} {$IFDEF Darwin}MacOSAll, {$ENDIF}
Classes, SysUtils, Math, TypInfo, Types, FPCAdds, AvgLvlTree, FileUtil, Classes, SysUtils, Math, TypInfo, Types, FPCAdds, AvgLvlTree, FileUtil,
LCLStrConsts, LCLType, WSReferences, LazUTF8 LCLStrConsts, LCLType, WSReferences, LazUTF8
{$IFDEF EnablePasWString}, paswstring{$ENDIF}
{$IFNDEF DisableCWString}{$ifdef unix}{$ifndef DisableIconv}, cwstring{$endif}{$endif}{$ENDIF} {$IFNDEF DisableCWString}{$ifdef unix}{$ifndef DisableIconv}, cwstring{$endif}{$endif}{$ENDIF}
; ;