Printers4Lazarus: force fatal compilation error on WinCE platform, since the package is unsupported on this platform.

git-svn-id: trunk@54900 -
This commit is contained in:
bart 2017-05-13 21:16:23 +00:00
parent fb53db05ec
commit c2f112c3d0
2 changed files with 8 additions and 0 deletions

View File

@ -28,6 +28,10 @@ unit OSPrinters;
interface
{$IFDEF WinCE}
{$FATAL This unit (and therefore the Printers4Lazarus package) cannot be built for WinCE}
{$ENDIF}
{$IFDEF UNIX}
{$IFDEF DARWIN}
{$IFDEF LCLCarbon}

View File

@ -21,6 +21,10 @@ unit PrintersDlgs;
interface
{$IFDEF WinCE}
{$FATAL This unit (and therefore the Printers4Lazarus package) cannot be built for WinCE}
{$ENDIF}
uses
Classes, SysUtils, Forms, Controls, Dialogs, LResources, Printers, OsPrinters;