diff options
Diffstat (limited to 'compilerplugins/clang/charrightshift.cxx')
-rw-r--r-- | compilerplugins/clang/charrightshift.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/compilerplugins/clang/charrightshift.cxx b/compilerplugins/clang/charrightshift.cxx index aa4c85d3f22d..6f3027002daa 100644 --- a/compilerplugins/clang/charrightshift.cxx +++ b/compilerplugins/clang/charrightshift.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" @@ -51,8 +53,10 @@ public: } }; -loplugin::Plugin::Registration<CharRightShift> X("charrightshift"); +loplugin::Plugin::Registration<CharRightShift> charrightshift("charrightshift"); } +#endif // LO_CLANG_SHARED_PLUGINS + /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ |