summaryrefslogtreecommitdiffstats
path: root/e_os.h
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-05-06 00:46:34 +0000
committerUlf Möller <ulf@openssl.org>1999-05-06 00:46:34 +0000
commit31a674d8c9766d582596876b221bb685d6d32a91 (patch)
tree657a5edbf78c070ef6c6d379e2d6e6ef72abd41e /e_os.h
parentb282fdae2561282ce8e6ad72aa88cbaabf5743ab (diff)
Support additional Win32 compilers.
Borland C submitted by: Janez Jere <jj@void.si>
Diffstat (limited to 'e_os.h')
-rw-r--r--e_os.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/e_os.h b/e_os.h
index bc42c4491b..cff94e3e2d 100644
--- a/e_os.h
+++ b/e_os.h
@@ -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