summaryrefslogtreecommitdiffstats
path: root/src/util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.cc')
-rw-r--r--src/util.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.cc b/src/util.cc
index 0bbcaf2..e8cd11e 100644
--- a/src/util.cc
+++ b/src/util.cc
@@ -173,7 +173,8 @@ void SetCloseOnExec(int fd) {
#else
// On Windows, handles must be explicitly marked to be passed to a
// spawned process, so there's nothing to do here.
-#endif // WIN32
+ NINJA_UNUSED_ARG(fd);
+#endif // ! _WIN32
}
int64_t GetTimeMillis() {