* Build cnetdb for android.

git-svn-id: trunk@44295 -
This commit is contained in:
yury 2020-03-13 19:03:07 +00:00
parent 8e1e9cb20b
commit 5dae20bd0b
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ begin
end;
T.ResourceStrings := True;
T:=P.Targets.AddUnit('cnetdb.pp',[linux,freebsd,solaris]);
T:=P.Targets.AddUnit('cnetdb.pp',[linux,freebsd,solaris,android]);
P.ExamplePath.Add('examples');
P.Targets.AddExampleProgram('examples/ip6test.pp');

View File

@ -233,7 +233,7 @@ type
{$if defined(LINUX) or defined(OPENBSD)}
{$define FIRST_ADDR_THEN_CANONNAME}
{$endif}
{$if defined(FREEBSD) or defined(NETBSD) or defined(DRAGONFLY) or defined(SOLARIS)}
{$if defined(FREEBSD) or defined(NETBSD) or defined(DRAGONFLY) or defined(SOLARIS) or defined(ANDROID)}
{$define FIRST_CANONNAME_THEN_ADDR}
{$endif}
{$if not defined(FIRST_CANONNAME_THEN_ADDR) and not defined(FIRST_ADDR_THEN_CANONNAME)}