Use -DOPENSSL_SYS_WIN32 on Windows
Tor fails to compile on Windows MinGW/msys with an error about X509_NAME being an integer literal. This is because OPENSSL_SYS_WIN32 is not defined, but it should be. When we are on Win32, we should define this preprocessor directive.
issue