Commit 05361483 authored by Richard Levitte's avatar Richard Levitte
Browse files

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: default avatarRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2707)
(cherry picked from commit d8eaaf15)
parent 8aa38789
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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"