compilerplugins/clang/stdfunction.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 41a83d32079e1ee2a99aa8a2f959e0de96345079 Author: Luboš Luňák <l.lu...@collabora.com> AuthorDate: Tue Jan 28 22:20:11 2020 +0100 Commit: Luboš Luňák <l.lu...@collabora.com> CommitDate: Wed Jan 29 15:21:35 2020 +0100 make a simple compiler plugin usable in sharedvisitor Change-Id: I9af231277facc661784e44f6ad3eb1a340c76f97 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87663 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lu...@collabora.com> diff --git a/compilerplugins/clang/stdfunction.cxx b/compilerplugins/clang/stdfunction.cxx index 89935558d8a2..43c61a04730f 100644 --- a/compilerplugins/clang/stdfunction.cxx +++ b/compilerplugins/clang/stdfunction.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" @@ -45,4 +47,6 @@ private: static loplugin::Plugin::Registration<StdFunction> X("stdfunction"); } +#endif // LO_CLANG_SHARED_PLUGINS + /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits