summaryrefslogtreecommitdiff
path: root/src/cc-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cc-compat.h')
-rw-r--r--src/cc-compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cc-compat.h b/src/cc-compat.h
index 5071d5322..cf6cccf12 100644
--- a/src/cc-compat.h
+++ b/src/cc-compat.h
@@ -66,6 +66,8 @@
#if defined(_MSC_VER)
/* disable "deprecated function" warnings */
# pragma warning ( disable : 4996 )
+/* disable "conditional expression is constant" level 4 warnings */
+# pragma warning ( disable : 4127 )
#endif
#endif /* INCLUDE_compat_h__ */