LazUtils: Clean LazUnicode.

git-svn-id: trunk@54806 -
This commit is contained in:
juha 2017-05-03 11:19:09 +00:00
parent 258ae1b201
commit 35f0a84962
3 changed files with 3 additions and 7 deletions

View File

@ -21,7 +21,7 @@ unit LazUnicode;
// For testing the UTF16 version.
{$IF DEFINED(FPC) and DEFINED(UseUTF16)}
{$ModeSwitch UnicodeStrings} // Sets also FPC_UNICODESTRINGS ...
{$ModeSwitch UnicodeStrings} // Sets also FPC_UNICODESTRINGS.
{$ENDIF}
{$IF DEFINED(FPC_UNICODESTRINGS) or not DEFINED(FPC)}

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<ProjectOptions>
<Version Value="9"/>
<Version Value="10"/>
<General>
<Flags>
<MainUnitHasCreateFormStatements Value="False"/>
@ -13,9 +13,6 @@
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
</General>
<VersionInfo>
<StringTable ProductVersion=""/>
</VersionInfo>
<BuildModes Count="2">
<Item1 Name="UTF8" Default="True"/>
<Item2 Name="UTF16">

View File

@ -14,8 +14,7 @@ program LazUnicodeTest;
// For testing the UTF16 version.
{$IF DEFINED(FPC) and DEFINED(UseUTF16)}
{$ModeSwitch UnicodeStrings} // Sets also FPC_UNICODESTRINGS ...
{$DEFINE FPC_UNICODESTRINGS} // but Lazarus editor hi-lighting doesn't know it.
{$ModeSwitch UnicodeStrings} // Sets also FPC_UNICODESTRINGS.
{$ENDIF}
{$IF DEFINED(FPC_UNICODESTRINGS) or not DEFINED(FPC)}