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:18:52 +0100 |
commit | 90670b54c493c04c830ac38e9cfd7acf8fac4012 (patch) | |
tree | cd10868851b6c772ffdaff9aa5676562cec44283 /crypto/o_dir.c | |
parent | 1415d31626f691d87ce513991d1b633fb464be72 (diff) |
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)
(cherry picked from commit d8eaaf15356e1559f0f669b430b0d22b3514f8f0)
Diffstat (limited to 'crypto/o_dir.c')
-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 f9dbed8711..0ca4029686 100644 --- a/crypto/o_dir.c +++ b/crypto/o_dir.c @@ -73,7 +73,8 @@ #include "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" |