summaryrefslogtreecommitdiff
path: root/programs/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'programs/platform.h')
-rw-r--r--programs/platform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/programs/platform.h b/programs/platform.h
index 155ebcd1eb9c8..1a8f97bc4dff0 100644
--- a/programs/platform.h
+++ b/programs/platform.h
@@ -26,6 +26,7 @@ extern "C" {
# define _CRT_SECURE_NO_DEPRECATE /* VS2005 - must be declared before <io.h> and <windows.h> */
# define snprintf sprintf_s /* snprintf unsupported by Visual <= 2013 */
# endif
+# pragma warning(disable : 4127) /* disable: C4127: conditional expression is constant */
#endif