Skip to content

Commit 4a0db70

Browse files
committed
Bug #33190431 Handling dependency on Dnsapi.DLL on Windows
1 parent b4c9bf6 commit 4a0db70

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

driver/mysql_connection.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
#else
5252
#include <winsock2.h>
5353
#include <windns.h>
54+
#pragma comment(lib,"Dnsapi")
5455
#endif
5556
#include <mysqld_error.h>
5657
#include <cppconn/exception.h>

0 commit comments

Comments
 (0)