summaryrefslogtreecommitdiff
path: root/wsutil/filesystem.c
diff options
context:
space:
mode:
Diffstat (limited to 'wsutil/filesystem.c')
-rw-r--r--wsutil/filesystem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsutil/filesystem.c b/wsutil/filesystem.c
index bfdcef4fe0..9774d21b62 100644
--- a/wsutil/filesystem.c
+++ b/wsutil/filesystem.c
@@ -1960,7 +1960,7 @@ file_exists(const char *fname)
return FALSE;
}
-#if _MSC_VER < 1900
+#if defined(_MSC_VER) && _MSC_VER < 1900
/*
* This is a bit tricky on win32. The st_ino field is documented as: