From ab1eb9804472083496549cde163eb81a77979db5 Mon Sep 17 00:00:00 2001 From: mattias Date: Wed, 13 Jan 2016 17:21:16 +0000 Subject: [PATCH] turbopower_ipro: compile unit iphtmlpv only with -dHTML_Print git-svn-id: trunk@51268 - --- components/turbopower_ipro/iphtmlpv.pas | 4 ++++ components/turbopower_ipro/turbopoweripro.lpk | 3 ++- components/turbopower_ipro/turbopoweripro.pas | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/components/turbopower_ipro/iphtmlpv.pas b/components/turbopower_ipro/iphtmlpv.pas index ac21eeb5b2..f1c3881adc 100644 --- a/components/turbopower_ipro/iphtmlpv.pas +++ b/components/turbopower_ipro/iphtmlpv.pas @@ -32,6 +32,10 @@ unit IpHtmlPv; +{$IFNDEF Html_Print} + {$ERROR requires -dHTML_Print} +{$ENDIF} + interface uses diff --git a/components/turbopower_ipro/turbopoweripro.lpk b/components/turbopower_ipro/turbopoweripro.lpk index 16099fef8f..1da42ddec1 100644 --- a/components/turbopower_ipro/turbopoweripro.lpk +++ b/components/turbopower_ipro/turbopoweripro.lpk @@ -2,6 +2,7 @@ + @@ -53,6 +54,7 @@ + @@ -96,7 +98,6 @@ - diff --git a/components/turbopower_ipro/turbopoweripro.pas b/components/turbopower_ipro/turbopoweripro.pas index 9196f6d8dc..cec83d1b5d 100644 --- a/components/turbopower_ipro/turbopoweripro.pas +++ b/components/turbopower_ipro/turbopoweripro.pas @@ -7,7 +7,7 @@ unit TurboPowerIPro; interface uses - IpAnim, IpConst, Ipfilebroker, IpHtml, {$IFDEF Html_Print}IpHtmlPv,{$ENDIF} IpMsg, IpStrms, IpUtils, + IpAnim, IpConst, Ipfilebroker, IpHtml, IpMsg, IpStrms, IpUtils, IpHtmlTabList, iphtmlprop, ipHtmlBlockLayout, ipHtmlTableLayout, LazarusPackageIntf;