mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 23:08:05 +02:00
Fixes linking LCL-Android by disabling all links to libc in arm-linux
git-svn-id: trunk@31913 -
This commit is contained in:
parent
5f0143992d
commit
b51ae032ac
@ -1,2 +1,8 @@
|
||||
// Add defines here. This file should be included in all LCL units headers
|
||||
{$define UseCLDefault}
|
||||
{$define UseCLDefault}
|
||||
|
||||
// For Android and other ARM-devices, otherwise the LCL will dependent on libc
|
||||
{$IFDEF ARM}{$IFDEF UNIX}
|
||||
{$DEFINE DisableCWString}
|
||||
{$DEFINE DisableIconv}
|
||||
{$ENDIF}{$ENDIF}
|
||||
|
@ -26,6 +26,7 @@ unit LCLProc;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
{$inline on}
|
||||
{$include include/lcl_defines.inc}
|
||||
|
||||
interface
|
||||
|
||||
|
@ -15,6 +15,7 @@
|
||||
unit LConvEncoding;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
{$include include/lcl_defines.inc}
|
||||
|
||||
interface
|
||||
|
||||
|
@ -65,6 +65,7 @@
|
||||
unit Translations;
|
||||
|
||||
{$mode objfpc}{$H+}{$INLINE ON}
|
||||
{$include include/lcl_defines.inc}
|
||||
|
||||
interface
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user