summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/externvar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/externvar.cxx')
-rw-r--r--compilerplugins/clang/externvar.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/compilerplugins/clang/externvar.cxx b/compilerplugins/clang/externvar.cxx
index 93a08092bd08..eb20d3f36b0d 100644
--- a/compilerplugins/clang/externvar.cxx
+++ b/compilerplugins/clang/externvar.cxx
@@ -7,6 +7,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
+#ifndef LO_CLANG_SHARED_PLUGINS
+
#include "check.hxx"
#include "plugin.hxx"
@@ -109,8 +111,10 @@ public:
}
};
-loplugin::Plugin::Registration<ExternVar> X("externvar");
+loplugin::Plugin::Registration<ExternVar> externvar("externvar");
}
+#endif // LO_CLANG_SHARED_PLUGINS
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */