From 1b8ac64491cf4231edc0995eebc778b69aada408 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 18 May 2011 11:13:45 +0300 Subject: Rework how is included --- l10ntools/source/help/HelpCompiler.hxx | 4 ++-- l10ntools/source/help/makefile.mk | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'l10ntools') diff --git a/l10ntools/source/help/HelpCompiler.hxx b/l10ntools/source/help/HelpCompiler.hxx index 8b063509a699..016f7eefb8bc 100644 --- a/l10ntools/source/help/HelpCompiler.hxx +++ b/l10ntools/source/help/HelpCompiler.hxx @@ -38,8 +38,8 @@ #include #include #include -#ifdef SYSTEM_DB -#include +#ifdef SYSTEM_DB_HEADER +#include SYSTEM_DB_HEADER #else #include #endif diff --git a/l10ntools/source/help/makefile.mk b/l10ntools/source/help/makefile.mk index f24ec8c16b3d..3fd6879a9989 100644 --- a/l10ntools/source/help/makefile.mk +++ b/l10ntools/source/help/makefile.mk @@ -44,9 +44,7 @@ LIBXSLTINCDIR=external$/libxslt CFLAGS+= -I$(SOLARINCDIR)$/$(LIBXSLTINCDIR) .ENDIF -.IF "$(SYSTEM_DB)" == "YES" -CFLAGS+=-DSYSTEM_DB -.ENDIF +CFLAGS+= $(SYSTEM_DB_CFLAGS) .IF "$(SYSTEM_EXPAT)" == "YES" CFLAGS+=-DSYSTEM_EXPAT -- cgit