diff --git a/src/libssh2_priv.h b/src/libssh2_priv.h index 1274a661..387ff5d3 100644 --- a/src/libssh2_priv.h +++ b/src/libssh2_priv.h @@ -39,6 +39,11 @@ * OF SUCH DAMAGE. */ +/* Disable warnings: C4127: conditional expression is constant */ +#if defined(_MSC_VER) && _MSC_VER < 1900 +#pragma warning(disable:4127) +#endif + #define LIBSSH2_LIBRARY #include "libssh2_config.h"