summaryrefslogtreecommitdiff
path: root/e_os.h
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>2000-03-10 23:45:28 +0000
committerUlf Möller <ulf@openssl.org>2000-03-10 23:45:28 +0000
commitb70dcdfc3f727b77bbebf3d4abecf6fb30e03409 (patch)
tree2368a4d94001c103e4166c2260c408681a4c102b /e_os.h
parent4991d07cf3094e73a4eaa97d527844f8c2a28a77 (diff)
downloadopenssl-new-b70dcdfc3f727b77bbebf3d4abecf6fb30e03409.tar.gz
ssize_t
Diffstat (limited to 'e_os.h')
-rw-r--r--e_os.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/e_os.h b/e_os.h
index 1e06e0a2fe..869a63dccf 100644
--- a/e_os.h
+++ b/e_os.h
@@ -194,6 +194,10 @@ extern "C" {
# include <io.h>
# include <fcntl.h>
+# ifdef __MINGW32__
+# define ssize_t long
+# endif
+
# if defined (__BORLANDC__)
# define _setmode setmode
# define _O_TEXT O_TEXT
@@ -268,6 +272,7 @@ extern "C" {
# endif
# ifdef NeXT
# define pid_t int /* pid_t is missing on NEXTSTEP/OPENSTEP */
+# define ssize_t long
# endif
# define OPENSSL_CONF "openssl.cnf"