lib/extensions/openssl.so/ext/sources/e_os.h in rhodes-3.5.1.12 vs lib/extensions/openssl.so/ext/sources/e_os.h in rhodes-5.5.0
- old
+ new
@@ -367,9 +367,16 @@
# define DEFAULT_HOME ""
# else
# define DEFAULT_HOME "C:"
# endif
+/* Avoid Windows 8 SDK GetVersion deprecated problems */
+#if defined(_MSC_VER) && _MSC_VER>=1800
+# define check_winnt() (1)
+#else
+# define check_winnt() (GetVersion() < 0x80000000)
+#endif
+
#else /* The non-microsoft world */
# ifdef OPENSSL_SYS_VMS
# define VMS 1
/* some programs don't include stdlib, so exit() and others give implicit