lazarus/components/lazutils/lazutils_defines.inc
mattias f2e4d7db58 lazutils: comments
git-svn-id: trunk@51998 -
2016-03-20 10:55:55 +00:00

19 lines
539 B
PHP

// Add defines here. This file should be included in all LazUtils units headers
{$undef UTF8_RTL} // FPC 2.7.1 with codepages and default string = CP_UTF8
{$undef ACP_RTL} // FPC 2.7.1 with codepages and default string = CP_ACP
{$undef NO_CP_RTL} // FPC 2.7.1 before string codepages
{$ifdef FPC_HAS_CPSTRING}
{$ifndef DisableUTF8RTL}
{$define UTF8_RTL}
{$else DisableUTF8RTL}
{$define ACP_RTL}
{$endif DisableUTF8RTL}
{$else FPC_HAS_CPSTRING}
{$define NO_CP_RTL}
{$undef DisableUTF8RTL}
{$endif FPC_HAS_CPSTRING}