alibaba / xquic

XQUIC Library released by Alibaba is a cross-platform implementation of QUIC and HTTP/3 protocol.
Apache License 2.0
1.64k stars 326 forks source link

[Bug]: Windows平台编译兼容问题 #323

Closed CloudSearch1 closed 10 months ago

CloudSearch1 commented 11 months ago

What happened?

1)ssize_t这个类型是否Windows平台支持,是否有替代方案? 2)#include 在xqc_log.h文件,#include <netinet/in.h>在xqc_variable_len_int.h文件中这两个头文件Windows是否支持? 3)XQC_EXPORT_PUBLIC_API extern const xqc_cong_ctrl_callback_t xqc_reno_cb;等一系列定义的变量,#define XQC_EXPORT_PUBLIC_API attribute((visibility("default"))) 是否在Windows平台上是支持的?有无替代方案, 4)boringssl编译成功,但是编译xquic会报错,且不仅仅是在一台设备上测试会出现错误。

Steps To Reproduce

1)MSBuild.exe xquic.vcxproj构建失败,提示很多编译问题。如语法错误,标识符未找到等。 2)boringssl编译成功,且按照脚本能够生成.lib

Relevant log output

No response