LazUtils: add lazutils_defines.inc, forgotten in r50498 #0c8df133dd.

git-svn-id: trunk@50499 -
This commit is contained in:
bart 2015-11-24 16:24:54 +00:00
parent 0c8df133dd
commit b2fa28caad
2 changed files with 19 additions and 0 deletions

1
.gitattributes vendored
View File

@ -3002,6 +3002,7 @@ components/lazutils/lazutf8sysutils.pas svneol=native#text/pascal
components/lazutils/lazutilities.pas svneol=native#text/plain
components/lazutils/lazutils.lpk svneol=native#text/plain
components/lazutils/lazutils.pas svneol=native#text/pascal
components/lazutils/lazutils_defines.inc svneol=native#text/plain
components/lazutils/lazutilsstrconsts.pas svneol=native#text/pascal
components/lazutils/lconvencoding.pas svneol=native#text/pascal
components/lazutils/lcsvutils.pas svneol=native#text/pascal

View File

@ -0,0 +1,18 @@
// Add defines here. This file should be included in all LazUtils units headers
{$undef UTF8_RTL}
{$undef ACP_RTL}
{$undef NO_CP_RTL}
{$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}