diff options
author | Richard Levitte <levitte@openssl.org> | 2017-02-22 18:12:04 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-02-22 18:16:47 +0100 |
commit | d8eaaf15356e1559f0f669b430b0d22b3514f8f0 (patch) | |
tree | a4332d24790890d0e7ce4c88752c1c3cbc92de9e /crypto | |
parent | 65b3dff76b570dc0c893defa8014314c13c82c73 (diff) | |
download | openssl-d8eaaf15356e1559f0f669b430b0d22b3514f8f0.tar.gz |
Have the directory reader use the Unix API on VMS
opendir(), readdir() and closedir() have been available on VMS since
version 7.0.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2707)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/o_dir.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/o_dir.c b/crypto/o_dir.c index 89c8c5c565..50b4533b0f 100644 --- a/crypto/o_dir.c +++ b/crypto/o_dir.c @@ -23,7 +23,8 @@ #include "internal/o_dir.h" #define LPDIR_H -#if defined OPENSSL_SYS_UNIX || defined DJGPP +#if defined OPENSSL_SYS_UNIX || defined DJGPP \ + (defined __VMS_VER && __VMS_VER >= 70000000) # include "LPdir_unix.c" #elif defined OPENSSL_SYS_VMS # include "LPdir_vms.c" |