summaryrefslogtreecommitdiffstats
path: root/e_os.h
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2015-01-16 19:52:36 +0000
committerjkim <jkim@FreeBSD.org>2015-01-16 19:52:36 +0000
commit63414ee1a3b7c1a972b52637c01b95212e3b51ea (patch)
tree48e7190df8c1c65cd084672a90bb14ac03a97bfc /e_os.h
parent6c57594b3634581f3a67324310e0ea5da4e7b339 (diff)
downloadFreeBSD-src-63414ee1a3b7c1a972b52637c01b95212e3b51ea.zip
FreeBSD-src-63414ee1a3b7c1a972b52637c01b95212e3b51ea.tar.gz
Import OpenSSL 1.0.1l.
Diffstat (limited to 'e_os.h')
-rw-r--r--e_os.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/e_os.h b/e_os.h
index 832272e..4df285b 100644
--- a/e_os.h
+++ b/e_os.h
@@ -368,11 +368,13 @@ static __inline unsigned int _strlen31(const char *str)
# define DEFAULT_HOME "C:"
# endif
-/* Avoid Windows 8 SDK GetVersion deprecated problems */
+/* Avoid Visual Studio 13 GetVersion deprecated problems */
#if defined(_MSC_VER) && _MSC_VER>=1800
# define check_winnt() (1)
+# define check_win_minplat(x) (1)
#else
# define check_winnt() (GetVersion() < 0x80000000)
+# define check_win_minplat(x) (LOBYTE(LOWORD(GetVersion())) >= (x))
#endif
#else /* The non-microsoft world */
OpenPOWER on IntegriCloud