mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 03:39:28 +02:00
* give a compiler error when attempting to compile these units for any
platform other than Linux/i386, so that people trying to manually compile them will be informed about the fact that these units will break in various ways on non-Linux/i386 git-svn-id: trunk@14567 -
This commit is contained in:
parent
c1f3d8dcaa
commit
7ce1c94cc5
@ -1,5 +1,10 @@
|
||||
{$mode objfpc}
|
||||
{$h+}
|
||||
|
||||
{$if not defined(linux) or not defined(cpui386)}
|
||||
{$error The KernelDefs unit is a legacy Kylix-compatibility unit that is only supported on Linux/i386. It is known not to work in various ways on other OSes and architectures (including Linux/x86_64). }
|
||||
{$endif}
|
||||
|
||||
unit kerneldefs;
|
||||
|
||||
interface
|
||||
|
@ -1,6 +1,10 @@
|
||||
{$mode objfpc}
|
||||
{$h+}
|
||||
|
||||
{$if not defined(linux) or not defined(cpui386)}
|
||||
{$error The KernelIoctl unit is a legacy Kylix-compatibility unit that is only supported on Linux/i386. It is known not to work in various ways on other OSes and architectures (including Linux/x86_64). }
|
||||
{$endif}
|
||||
|
||||
Unit kernelioctl;
|
||||
|
||||
Interface
|
||||
|
@ -1,6 +1,11 @@
|
||||
{$mode objfpc}
|
||||
{$inline on}
|
||||
{$h+}
|
||||
|
||||
{$if not defined(linux) or not defined(cpui386)}
|
||||
{$error The KernelDefs unit is a legacy Kylix-compatibility unit that is only supported on Linux/i386. It is known not to work in various ways on other OSes and architectures (including Linux/x86_64). }
|
||||
{$endif}
|
||||
|
||||
unit libc;
|
||||
|
||||
Interface
|
||||
|
Loading…
Reference in New Issue
Block a user