From ed5c2c95b7ec0f6b81e4ad7b8dd481bf8e494b1d Mon Sep 17 00:00:00 2001 From: Rene Engelhard Date: Wed, 19 Sep 2012 20:44:03 +0200 Subject: fix system-clucene/-boost build with gcc 4.4 Change-Id: I95d23e6728571b3f3a6421a05fec814f7c5d059c --- helpcompiler/Library_helplinker.mk | 6 ++++++ helpcompiler/inc/HelpCompiler.hxx | 3 +++ 2 files changed, 9 insertions(+) (limited to 'helpcompiler') diff --git a/helpcompiler/Library_helplinker.mk b/helpcompiler/Library_helplinker.mk index 8395dd5a1467..17966c4c3291 100644 --- a/helpcompiler/Library_helplinker.mk +++ b/helpcompiler/Library_helplinker.mk @@ -35,6 +35,12 @@ $(eval $(call gb_Library_add_defs,helplinker,\ -DHELPLINKER_DLLIMPLEMENTATION \ )) +ifeq ($(HAVE_CXX0X),TRUE) +$(eval $(call gb_Library_add_defs,helplinker,\ + -DHAVE_CXX0X \ +)) +endif + $(eval $(call gb_Library_use_libraries,helplinker,\ sal \ )) diff --git a/helpcompiler/inc/HelpCompiler.hxx b/helpcompiler/inc/HelpCompiler.hxx index 825a55c0330f..a7c4a16a995f 100644 --- a/helpcompiler/inc/HelpCompiler.hxx +++ b/helpcompiler/inc/HelpCompiler.hxx @@ -30,6 +30,9 @@ #define HELPCOMPILER_HXX #include +#ifndef HAVE_CXX0X +#define BOOST_NO_0X_HDR_TYPEINDEX +#endif #include #include #include -- cgit