summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/unusedmethodsremove.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/unusedmethodsremove.cxx')
-rw-r--r--compilerplugins/clang/unusedmethodsremove.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/compilerplugins/clang/unusedmethodsremove.cxx b/compilerplugins/clang/unusedmethodsremove.cxx
index 09187edfc7c0..5452b51f42a2 100644
--- a/compilerplugins/clang/unusedmethodsremove.cxx
+++ b/compilerplugins/clang/unusedmethodsremove.cxx
@@ -7,6 +7,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
+#if !defined _WIN32 //TODO, #include <sys/mman.h>
+
#include <cassert>
#include <string>
#include <iostream>
@@ -145,4 +147,6 @@ loplugin::Plugin::Registration< UnusedMethodsRemove > X("unusedmethodsremove", f
}
+#endif
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */