aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-07-02 20:41:05 +0000
committerRichard Levitte <levitte@openssl.org>2001-07-02 20:41:05 +0000
commit3bfd99bfbbcd7e79cad39ecadb4e4378ef7ee14d (patch)
treef15c99819038ea7c659227f8a25d904b3963c7ae
parenta169e82065a8272640c670822eaf34447840092f (diff)
downloadopenssl-3bfd99bfbbcd7e79cad39ecadb4e4378ef7ee14d.tar.gz
[Forgotten commits?]
Changes to have OpenSSL compile on OS/2. Contributed by "Brian Havard" <brianh@kheldar.apana.org.au>
-rw-r--r--crypto/rand/Makefile.ssl4
-rw-r--r--e_os.h7
2 files changed, 9 insertions, 2 deletions
diff --git a/crypto/rand/Makefile.ssl b/crypto/rand/Makefile.ssl
index d5369c4964..0f760c1ff8 100644
--- a/crypto/rand/Makefile.ssl
+++ b/crypto/rand/Makefile.ssl
@@ -24,9 +24,9 @@ APPS=
LIB=$(TOP)/libcrypto.a
LIBSRC=md_rand.c randfile.c rand_lib.c rand_err.c rand_egd.c \
- rand_win.c rand_unix.c
+ rand_win.c rand_unix.c rand_os2.c
LIBOBJ=md_rand.o randfile.o rand_lib.o rand_err.o rand_egd.o \
- rand_win.o rand_unix.o
+ rand_win.o rand_unix.o rand_os2.o
SRC= $(LIBSRC)
diff --git a/e_os.h b/e_os.h
index 08410f9eb4..803ceae90e 100644
--- a/e_os.h
+++ b/e_os.h
@@ -456,6 +456,13 @@ extern char *sys_errlist[]; extern int sys_nerr;
#define IRIX_CC_BUG /* CDS++ up to V2.0Bsomething suffered from the same bug.*/
#endif
+#if defined(OPENSSL_SYS_OS2) && defined(__EMX__)
+# include <io.h>
+# include <fcntl.h>
+# define NO_SYSLOG
+# define strcasecmp stricmp
+#endif
+
#ifdef __cplusplus
}
#endif