Skip to content

Commit 6b5f20d

Browse files
pengyutang125SKY-20230424HUG\Administrator
and
SKY-20230424HUG\Administrator
authored
fix test_client & test_server link problem in windows platformDevelop (#423)
* add undef to fix windows compile error * fix link error for demo_server and demo_client * add debug information for visual studio * add debug information for vs in windows platform * fix test_client & test_server link problem in windows platform --------- Co-authored-by: SKY-20230424HUG\Administrator <[email protected]>
1 parent c95ca00 commit 6b5f20d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/test_client.c

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#pragma comment(lib,"ws2_32.lib")
2929
#pragma comment(lib,"event.lib")
3030
#pragma comment(lib, "Iphlpapi.lib")
31+
#pragma comment(lib, "Bcrypt.lib")
3132
#include "getopt.h"
3233
#endif
3334

tests/test_server.c

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#include "getopt.h"
2828
#pragma comment(lib,"ws2_32.lib")
2929
#pragma comment(lib, "Iphlpapi.lib")
30+
#pragma comment(lib, "Bcrypt.lib")
3031
#endif
3132

3233
#define XQC_FIRST_OCTET 1

0 commit comments

Comments
 (0)