diff options
author | Richard Levitte <levitte@openssl.org> | 2002-02-14 16:23:55 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-02-14 16:23:55 +0000 |
commit | fb67f40f047b4a6615b5a4d01c45f71782d9d441 (patch) | |
tree | 2f86941c7604c6d3aaca89d01a9ac3c42adb844f /crypto/bio | |
parent | 48033c3242beffd474498c81f547beff79eee76a (diff) |
Add the configuration target VxWorks.
Diffstat (limited to 'crypto/bio')
-rw-r--r-- | crypto/bio/bss_bio.c | 5 | ||||
-rw-r--r-- | crypto/bio/bss_log.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/crypto/bio/bss_bio.c b/crypto/bio/bss_bio.c index f666c47f4e..a5da473031 100644 --- a/crypto/bio/bss_bio.c +++ b/crypto/bio/bss_bio.c @@ -23,6 +23,11 @@ #include <openssl/crypto.h> #include "e_os.h" + +/* VxWorks defines SSIZE_MAX with an empty value causing compile errors */ +#if defined(OPENSSL_SYS_VSWORKS) +# undef SSIZE_MAX +#endif #ifndef SSIZE_MAX # define SSIZE_MAX INT_MAX #endif diff --git a/crypto/bio/bss_log.c b/crypto/bio/bss_log.c index e5954cd7f5..a39d95297c 100644 --- a/crypto/bio/bss_log.c +++ b/crypto/bio/bss_log.c @@ -77,7 +77,7 @@ # include <starlet.h> #elif defined(__ultrix) # include <sys/syslog.h> -#elif !defined(MSDOS) && !defined(NO_SYSLOG) /* Unix */ +#elif !defined(MSDOS) && !defined(OPENSSL_SYS_VXWORKS) && !defined(NO_SYSLOG) /* Unix */ # include <syslog.h> #endif |