tdesktop/Telegram/_openssl_patch.diff

14 lines
384 B
Diff

diff --git a/e_os.h b/e_os.h
index 7584485..0b37c94 100644
--- a/e_os.h
+++ b/e_os.h
@@ -315,7 +315,7 @@ static __inline unsigned int _strlen31(const char *str)
# undef isxdigit
# endif
# if defined(_MSC_VER) && !defined(_DLL) && defined(stdin)
-# if _MSC_VER>=1300
+# if (_MSC_VER>=1300) && (_MSC_VER<=1800)
# undef stdin
# undef stdout
# undef stderr