diff options
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/help/HelpCompiler.hxx | 4 | ||||
-rw-r--r-- | l10ntools/source/help/makefile.mk | 4 |
2 files changed, 3 insertions, 5 deletions
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 <sstream> #include <algorithm> #include <ctype.h> -#ifdef SYSTEM_DB -#include <db.h> +#ifdef SYSTEM_DB_HEADER +#include SYSTEM_DB_HEADER #else #include <berkeleydb/db.h> #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 |