From 14905877a0eb85ebdc16162e820cda51f0895fc7 Mon Sep 17 00:00:00 2001 From: kinichiro Date: Tue, 18 Oct 2016 17:13:56 +0900 Subject: Enable tests on Visual Studio - add patch for aeadtest.c to undef IN - add patch for ocsp_test.c to call BIO_sock_init() before getaddrinfo() - define STDERR_FILENO in unistd.h to build pkcs7test.c - add option ENABLE_VSTEST(default OFF) to enable test on Visual Studio - modify to pass test data file as an argument (aeadtest, evptest) - add Windows scripts (ocsptest, pq_test, ssltest, testdsa, testenc, testrsa) - do not build pidwraptest on MSVC - fix some indentations --- include/compat/unistd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/compat/unistd.h') diff --git a/include/compat/unistd.h b/include/compat/unistd.h index 6c83e76..52255bb 100644 --- a/include/compat/unistd.h +++ b/include/compat/unistd.h @@ -14,6 +14,8 @@ #include #include +#define STDERR_FILENO 2 + #define R_OK 4 #define W_OK 2 #define X_OK 0 -- cgit v1.2.3-55-g6feb