From 3bc5ca79f3ee033b5ebb65f61ea1a5740fbeb146 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Tue, 8 Sep 2015 03:49:35 +0200 Subject: [PATCH] try to fix the windows build Why do we need the DLLIMPORT macros in a header only class? Change-Id: I0da4e9a3fd9b8db77e7298d4d592fd29eff1f709 --- chart2/CppunitTest_chart2_common_functors.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chart2/CppunitTest_chart2_common_functors.mk b/chart2/CppunitTest_chart2_common_functors.mk index fdc7f9601b30..46e58bc9967a 100644 --- a/chart2/CppunitTest_chart2_common_functors.mk +++ b/chart2/CppunitTest_chart2_common_functors.mk @@ -15,6 +15,10 @@ $(eval $(call gb_CppunitTest_add_exception_objects,chart2_common_functors, \ chart2/qa/unit/common_functor_test \ )) +$(eval $(call gb_CppunitTest_add_defs,chart2_common_functors,\ + -DOOO_DLLIMPLEMENTATION_CHARTTOOLS \ +)) + $(eval $(call gb_CppunitTest_use_libraries,chart2_common_functors, \ cppu \ cppuhelper \