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)
This commit is contained in:
Richard Levitte 2017-02-22 18:12:04 +01:00
parent 65b3dff76b
commit d8eaaf1535

View file

@ -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"