Skip to content

Commit

Permalink
fix test_client & test_server link problem in windows platformDevelop (
Browse files Browse the repository at this point in the history
…#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 <yutang.pyt@alibaba-inc.com>
  • Loading branch information
pengyutang125 and SKY-20230424HUG\Administrator committed May 10, 2024
1 parent c95ca00 commit 6b5f20d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_client.c
Expand Up @@ -28,6 +28,7 @@
#pragma comment(lib,"ws2_32.lib")
#pragma comment(lib,"event.lib")
#pragma comment(lib, "Iphlpapi.lib")
#pragma comment(lib, "Bcrypt.lib")
#include "getopt.h"
#endif

Expand Down
1 change: 1 addition & 0 deletions tests/test_server.c
Expand Up @@ -27,6 +27,7 @@
#include "getopt.h"
#pragma comment(lib,"ws2_32.lib")
#pragma comment(lib, "Iphlpapi.lib")
#pragma comment(lib, "Bcrypt.lib")
#endif

#define XQC_FIRST_OCTET 1
Expand Down

0 comments on commit 6b5f20d

Please sign in to comment.