diff options
author | Ulf Möller <ulf@openssl.org> | 1999-05-06 00:46:34 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-05-06 00:46:34 +0000 |
commit | 31a674d8c9766d582596876b221bb685d6d32a91 (patch) | |
tree | 657a5edbf78c070ef6c6d379e2d6e6ef72abd41e /e_os.h | |
parent | b282fdae2561282ce8e6ad72aa88cbaabf5743ab (diff) | |
download | openssl-31a674d8c9766d582596876b221bb685d6d32a91.zip openssl-31a674d8c9766d582596876b221bb685d6d32a91.tar.gz openssl-31a674d8c9766d582596876b221bb685d6d32a91.tar.bz2 |
Support additional Win32 compilers.
Borland C submitted by: Janez Jere <jj@void.si>
Diffstat (limited to 'e_os.h')
-rw-r--r-- | e_os.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -150,8 +150,6 @@ extern "C" { #endif -#define strncasecmp(a,b,c) strnicmp((a),(b),(c)) - # ifdef WINDOWS # include <windows.h> # include <stddef.h> @@ -162,6 +160,13 @@ extern "C" { # include <io.h> # include <fcntl.h> +#if defined (__BORLANDC__) +#define _setmode setmode +#define _O_TEXT O_TEXT +#define _O_BINARY O_BINARY +#define _int64 __int64 +#endif + #if defined(WIN16) && !defined(MONOLITH) && defined(SSLEAY) && defined(_WINEXITNOPERSIST) # define EXIT(n) { if (n == 0) _wsetexit(_WINEXITNOPERSIST); return(n); } #else |