summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/unusedfieldsremove.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/unusedfieldsremove.cxx')
-rw-r--r--compilerplugins/clang/unusedfieldsremove.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/compilerplugins/clang/unusedfieldsremove.cxx b/compilerplugins/clang/unusedfieldsremove.cxx
index ab2359e430a4..eebc2bcfb51e 100644
--- a/compilerplugins/clang/unusedfieldsremove.cxx
+++ b/compilerplugins/clang/unusedfieldsremove.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>
@@ -128,4 +130,6 @@ loplugin::Plugin::Registration< UnusedFieldsRemove > X("unusedfieldsremove", fal
}
+#endif
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */