Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions google/cloud/odbc/bq_driver/internal/utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <sstream>
#include <string>
#ifdef _WIN32
#include <cstdlib>
#include <uxtheme.h> // Required for SetWindowTheme
#pragma comment(lib, "UxTheme.lib") // Link UxTheme.lib
HINSTANCE g_hDllInstance = NULL;
Expand Down Expand Up @@ -433,6 +434,7 @@ extern "C" BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason,
switch (ul_reason) {
case DLL_PROCESS_ATTACH:
g_hDllInstance = hModule;
_putenv_s("GRPC_DNS_RESOLVER", "native");
break;
}
return TRUE;
Expand Down
Loading