mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-05 11:52:44 +02:00
19 lines
547 B
PHP
19 lines
547 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}
|