diff options
author | Arne Schwabe <arne@rfc2549.org> | 2014-04-23 12:31:35 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2014-04-23 12:31:35 +0200 |
commit | 0c5af0c28f23f75f93e253aeccb00c5ad20c116e (patch) | |
tree | fae9826018c36f1011007d029b728c290c50485c /main/openssl/e_os.h | |
parent | c69ba1780496c260a1b4498596bae428e0df232d (diff) |
Update OpenSSL to 1.0.1g
Diffstat (limited to 'main/openssl/e_os.h')
-rw-r--r-- | main/openssl/e_os.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/main/openssl/e_os.h b/main/openssl/e_os.h index 79c13925..6a0aad1d 100644 --- a/main/openssl/e_os.h +++ b/main/openssl/e_os.h @@ -368,6 +368,13 @@ static unsigned int _strlen31(const char *str) # 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 |