[Forgotten commits?]
Changes to have OpenSSL compile on OS/2. Contributed by "Brian Havard" <brianh@kheldar.apana.org.au>
This commit is contained in:
parent
a169e82065
commit
3bfd99bfbb
@ -24,9 +24,9 @@ APPS=
|
|||||||
|
|
||||||
LIB=$(TOP)/libcrypto.a
|
LIB=$(TOP)/libcrypto.a
|
||||||
LIBSRC=md_rand.c randfile.c rand_lib.c rand_err.c rand_egd.c \
|
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 \
|
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)
|
SRC= $(LIBSRC)
|
||||||
|
|
||||||
|
7
e_os.h
7
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.*/
|
#define IRIX_CC_BUG /* CDS++ up to V2.0Bsomething suffered from the same bug.*/
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(OPENSSL_SYS_OS2) && defined(__EMX__)
|
||||||
|
# include <io.h>
|
||||||
|
# include <fcntl.h>
|
||||||
|
# define NO_SYSLOG
|
||||||
|
# define strcasecmp stricmp
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user