mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 11:29:24 +02:00
* initial android pthreads, by Bero, mantis #32105
git-svn-id: trunk@36662 -
This commit is contained in:
parent
8401a460e5
commit
fdd78657e8
@ -17,13 +17,14 @@ begin
|
||||
P.Directory:=ADirectory;
|
||||
{$endif ALLPACKAGES}
|
||||
P.Version:='3.1.1';
|
||||
P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux,aix,dragonfly];
|
||||
P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux,aix,dragonfly,android];
|
||||
P.SourcePath.Add('src');
|
||||
P.IncludePath.Add('src');
|
||||
|
||||
T:=P.Targets.AddUnit('pthreads.pp');
|
||||
with T.Dependencies do
|
||||
begin
|
||||
AddInclude('pthrandroid.inc',[Android]);
|
||||
AddInclude('pthrlinux.inc',[Linux]);
|
||||
AddInclude('pthrbeos.inc',[Beos]);
|
||||
AddInclude('pthrsnos.inc',[Solaris]);
|
||||
|
@ -23,6 +23,9 @@ interface
|
||||
{$if defined(BSD)}
|
||||
uses initc,BaseUnix, unixtype;
|
||||
{$i pthrbsd.inc}
|
||||
{$elseif defined(android)}
|
||||
uses initc, ctypes, unixtype;
|
||||
{$i pthrandroid.inc}
|
||||
{$elseif defined(linux)}
|
||||
uses initc, ctypes, unixtype;
|
||||
{$i pthrlinux.inc}
|
||||
|
Loading…
Reference in New Issue
Block a user