summaryrefslogtreecommitdiff
path: root/include/openssl/e_os2.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2015-10-05 15:23:37 +0200
committerAndy Polyakov <appro@openssl.org>2015-10-06 09:44:27 +0200
commitf4bd5de54459cc5f873807c7ed1f1b04b6e8d7e3 (patch)
tree901cbbad9556241e0d35dcea1420a68d19901371 /include/openssl/e_os2.h
parent52ee3ed3a11024ab6e11c5705da6c3ba17cf7d98 (diff)
downloadopenssl-new-f4bd5de54459cc5f873807c7ed1f1b04b6e8d7e3.tar.gz
Address more Windows warnings illuminated by mingw.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'include/openssl/e_os2.h')
-rw-r--r--include/openssl/e_os2.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/openssl/e_os2.h b/include/openssl/e_os2.h
index 6ef1f396d6..23602a5266 100644
--- a/include/openssl/e_os2.h
+++ b/include/openssl/e_os2.h
@@ -262,8 +262,12 @@ extern "C" {
# define OPENSSL_GLOBAL_REF(name) _shadow_##name
# endif
-# ifdef OPENSSL_SYS_MSDOS
-# define ossl_ssize_t long
+# ifdef _WIN32
+# ifdef _WIN64
+# define ossl_ssize_t __int64
+# else
+# define ossl_ssize_t int
+# endif
# endif
# if defined(__ultrix) && !defined(ssize_t)