From eaf080db4a162572ecf03951d31b6d597defa871 Mon Sep 17 00:00:00 2001 From: Cloud Wu Date: Wed, 8 May 2019 11:45:40 +0800 Subject: [PATCH] fix build for WideCharToMultiByte --- imgui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/imgui.cpp b/imgui.cpp index bce43eca7b9c..408e70f03dc3 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -9491,6 +9491,7 @@ static void SettingsHandlerWindow_WriteAll(ImGuiContext* ctx, ImGuiSettingsHandl #ifdef _MSC_VER #pragma comment(lib, "user32") +#pragma comment(lib, "kernel32") #endif static const char* GetClipboardTextFn_DefaultImpl(void*)