1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-08-07 08:02:56 +03:00

Update vms/libssh2_config.h.

VMS does have stdlib.h, gettimeofday(), and OpenSSL.  The latter
is appropriate to hard-wire in the configuration because it's
installed by default as part of the base operating system and
there is currently no libgcrypt port.
This commit is contained in:
Craig A. Berry
2016-03-12 18:46:04 -06:00
committed by Alexander Lamaison
parent f6a4ccf22b
commit 8a903d1083

View File

@@ -14,6 +14,7 @@ typedef unsigned int socklen_t; /* missing in headers on VMS */
/* Have's */
#define HAVE_UNISTD_H
#define HAVE_STDLIB_H
#define HAVE_INTTYPES_H
#define HAVE_SYS_TIME_H
#define HAVE_SELECT
@@ -23,6 +24,8 @@ typedef unsigned int socklen_t; /* missing in headers on VMS */
#define HAVE_NETINET_IN_H
#define HAVE_ARPA_INET_H
#define HAVE_GETTIMEOFDAY 1
#define POSIX_C_SOURCE
/* Enable the possibility of using tracing */
@@ -68,8 +71,11 @@ typedef unsigned int socklen_t; /* missing in headers on VMS */
#endif
/* Use OpenSSL */
#define LIBSSH2_OPENSSL 1
/* Compile in zlib support. We link against gnv$libzshr, as available
* on encompasserve.com.
* from https://sourceforge.net/projects/vms-ports/files/.
*/
#define LIBSSH2_HAVE_ZLIB