summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-12-16 15:26:09 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-12-16 15:28:39 +0100
commit5fbe5e968b866faab360327b00487b0d59cdd4f4 (patch)
tree780589d13df67c23828500f4e9f801c72b75f8fb /sc
parent2e54c5a0b4af99d8c5037f1404a2f7095a9c5d11 (diff)
Work around -Werror,-Wunused-macros (clang-cl)
Change-Id: Iebe340f9594f0e1847055361cebce5930685efd9
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/docshell/dataprovider.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/docshell/dataprovider.cxx b/sc/source/ui/docshell/dataprovider.cxx
index 76f3776b7a4e..9b4fba383d09 100644
--- a/sc/source/ui/docshell/dataprovider.cxx
+++ b/sc/source/ui/docshell/dataprovider.cxx
@@ -11,8 +11,10 @@
#include <stringutil.hxx>
#if defined(_WIN32)
+#if !defined __ORCUS_STATIC_LIB // avoid -Werror,-Wunused-macros
#define __ORCUS_STATIC_LIB
#endif
+#endif
#include <orcus/csv_parser.hpp>
namespace sc {