diff options
author | Rene Engelhard <rene@debian.org> | 2012-09-19 20:44:03 +0200 |
---|---|---|
committer | Rene Engelhard <rene@debian.org> | 2012-09-19 20:48:22 +0200 |
commit | ed5c2c95b7ec0f6b81e4ad7b8dd481bf8e494b1d (patch) | |
tree | d8b253a8e68054f7d6e998079009491561c25d35 /helpcompiler | |
parent | e989d167485e1e15d0aedef600ee450f01382382 (diff) |
fix system-clucene/-boost build with gcc 4.4
Change-Id: I95d23e6728571b3f3a6421a05fec814f7c5d059c
Diffstat (limited to 'helpcompiler')
-rw-r--r-- | helpcompiler/Library_helplinker.mk | 6 | ||||
-rw-r--r-- | helpcompiler/inc/HelpCompiler.hxx | 3 |
2 files changed, 9 insertions, 0 deletions
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 <string> +#ifndef HAVE_CXX0X +#define BOOST_NO_0X_HDR_TYPEINDEX +#endif #include <boost/unordered_map.hpp> #include <vector> #include <list> |