diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-01-03 22:43:04 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-01-03 22:43:04 +0000 |
commit | eef0c1f34c7b7d6a38e02f3294eb509aef081749 (patch) | |
tree | fb49441433ca3bf20230eeeca5a6e423a9888174 /engines | |
parent | 82a243132723ac27a81d689722e94e05e18992a0 (diff) |
Netware support.
Submitted by: Guenter Knauf <eflash@gmx.net>
Diffstat (limited to 'engines')
-rw-r--r-- | engines/e_aep.c | 5 | ||||
-rw-r--r-- | engines/e_padlock.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/engines/e_aep.c b/engines/e_aep.c index 7307ddfafb..ffdc354cdc 100644 --- a/engines/e_aep.c +++ b/engines/e_aep.c @@ -65,6 +65,11 @@ typedef int pid_t; #endif +#if defined(OPENSSL_SYS_NETWARE) && defined(NETWARE_CLIB) +#define getpid GetThreadID +extern int GetThreadID(void); +#endif + #include <openssl/crypto.h> #include <openssl/dso.h> #include <openssl/engine.h> diff --git a/engines/e_padlock.c b/engines/e_padlock.c index 20d458c1c1..64a13e754c 100644 --- a/engines/e_padlock.c +++ b/engines/e_padlock.c @@ -128,6 +128,9 @@ void ENGINE_load_padlock (void) # ifndef alloca # define alloca _alloca # endif +#elif defined(NETWARE_CLIB) && defined(__GNUC__) + void *alloca(size_t); +# define alloca(s) __builtin_alloca(s) #else # include <stdlib.h> #endif |