- c++ 工程中引用了openssl ,
- rtmp的相关代码,使用了openssl 的头文件:
- In openSSL, X509_NAME is a type, but <wincrypt.h> defines it as a value (((LPCSTR) 7)). Don’t define it yourself, but use the openSSL header, don’t include <wincrypt.h> and #define WIN32_LEAN_AND_MEAN to avoid it being included through other windows headers.
curl 可以注释掉
- https://github.com/curl/curl/commit/fbe07c6829ba8c5793c84c2856526e19e9029ab9
大神的办法