OpenSSL: Visual Studio 2015 support

This commit is contained in:
Vinnie Falco
2015-10-02 13:05:17 -07:00
parent caccee1d98
commit 84c0ae1c6d
4 changed files with 33 additions and 15 deletions

View File

@@ -153,3 +153,12 @@ void serialize_ec_point (ec_point const& point, std::uint8_t* ptr)
} // openssl
} // ripple
#include <stdio.h>
#ifdef _MSC_VER
FILE _iob[] = {*stdin, *stdout, *stderr};
extern "C" FILE * __cdecl __iob_func(void)
{
return _iob;
}
#endif