mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-29 20:39:36 +02:00
* Remove some BSD warnings. Still get warnings for cwstrings and ctypes, but
they are in inc/ ? git-svn-id: trunk@10093 -
This commit is contained in:
parent
9d3e52cc2e
commit
d28e21c4ac
@ -28,10 +28,11 @@ begin
|
|||||||
P.SourcePath.Add('objpas');
|
P.SourcePath.Add('objpas');
|
||||||
|
|
||||||
// Where to find the include files using firstmatch
|
// Where to find the include files using firstmatch
|
||||||
P.IncludePath.Add('$(OS)/$(CPU)',[Linux,Darwin]);
|
P.IncludePath.Add('$(OS)/$(CPU)',[Linux]+AllBSDOSes);
|
||||||
P.IncludePath.Add('$(OS)');
|
P.IncludePath.Add('$(OS)');
|
||||||
P.IncludePath.Add('$(CPU)');
|
P.IncludePath.Add('$(CPU)');
|
||||||
P.IncludePath.Add('bsd',AllBSDOSes);
|
P.IncludePath.Add('bsd',AllBSDOSes);
|
||||||
|
P.IncludePath.Add('bsd/$(CPU)',AllBSDOSes-[Darwin]);
|
||||||
P.IncludePath.Add('unix',AllUnixOSes);
|
P.IncludePath.Add('unix',AllUnixOSes);
|
||||||
P.IncludePath.Add('win',AllWindowsOSes);
|
P.IncludePath.Add('win',AllWindowsOSes);
|
||||||
P.IncludePath.Add('inc');
|
P.IncludePath.Add('inc');
|
||||||
@ -100,7 +101,7 @@ begin
|
|||||||
AddInclude('ostypes.inc',AllUnixOSes);
|
AddInclude('ostypes.inc',AllUnixOSes);
|
||||||
AddInclude('ptypes.inc',AllUnixOSes);
|
AddInclude('ptypes.inc',AllUnixOSes);
|
||||||
AddInclude('ctypes.inc',AllUnixOSes);
|
AddInclude('ctypes.inc',AllUnixOSes);
|
||||||
AddInclude('stat.inc',AllUnixOSes);
|
AddInclude('stat.inc',[Linux]);
|
||||||
AddInclude('signal.inc',AllUnixOSes);
|
AddInclude('signal.inc',AllUnixOSes);
|
||||||
AddInclude('sighnd.inc',AllUnixOSes);
|
AddInclude('sighnd.inc',AllUnixOSes);
|
||||||
AddInclude('sighndh.inc',AllUnixOSes);
|
AddInclude('sighndh.inc',AllUnixOSes);
|
||||||
@ -141,7 +142,7 @@ begin
|
|||||||
AddInclude('aliasctp.inc');
|
AddInclude('aliasctp.inc');
|
||||||
AddInclude('errno.inc');
|
AddInclude('errno.inc');
|
||||||
AddInclude('ostypes.inc');
|
AddInclude('ostypes.inc');
|
||||||
AddInclude('stat.inc');
|
AddInclude('stat.inc',[Linux]);
|
||||||
AddInclude('signal.inc');
|
AddInclude('signal.inc');
|
||||||
AddInclude('sighndh.inc');
|
AddInclude('sighndh.inc');
|
||||||
AddInclude('bunxh.inc');
|
AddInclude('bunxh.inc');
|
||||||
@ -202,7 +203,8 @@ begin
|
|||||||
begin
|
begin
|
||||||
AddUnit('baseunix');
|
AddUnit('baseunix');
|
||||||
AddUnit('syscall');
|
AddUnit('syscall');
|
||||||
AddInclude('ipccall.inc');
|
AddInclude('ipccall.inc',[Linux]);
|
||||||
|
AddInclude('ipcbsd.inc',[FreeBSD]);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
// Linux units
|
// Linux units
|
||||||
|
Loading…
Reference in New Issue
Block a user