Skip to content

Commit b691b6e

Browse files
pengyutang125SKY-20230424HUG\Administrator
and
SKY-20230424HUG\Administrator
authored
fix link error for demo_server and demo_client (#414)
* add undef to fix windows compile error * fix link error for demo_server and demo_client --------- Co-authored-by: SKY-20230424HUG\Administrator <[email protected]>
1 parent e9b4c37 commit b691b6e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

demo/demo_client.c

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#pragma comment(lib,"ws2_32.lib")
2626
#pragma comment(lib,"event.lib")
2727
#pragma comment(lib, "Iphlpapi.lib")
28+
#pragma comment(lib, "Bcrypt.lib")
2829
#include "../tests/getopt.h"
2930
#else
3031
#include <sys/socket.h>

demo/demo_server.c

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#pragma comment(lib,"ws2_32.lib")
2626
#pragma comment(lib,"event.lib")
2727
#pragma comment(lib, "Iphlpapi.lib")
28+
#pragma comment(lib, "Bcrypt.lib")
2829
#endif
2930

3031

0 commit comments

Comments
 (0)