summaryrefslogtreecommitdiffstats
path: root/helpcompiler
diff options
context:
space:
mode:
Diffstat (limited to 'helpcompiler')
-rw-r--r--helpcompiler/Library_helplinker.mk6
-rw-r--r--helpcompiler/inc/HelpCompiler.hxx3
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>