Fix cross compilers

docking
Crunkle 7 years ago
parent 1493de4f81
commit daa38f2ad0

@ -11524,7 +11524,11 @@ void ImGui::EndDragDropTarget()
#if defined(_WIN32) && !defined(_WINDOWS_) && (!defined(IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCTIONS) || !defined(IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCTIONS)) #if defined(_WIN32) && !defined(_WINDOWS_) && (!defined(IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCTIONS) || !defined(IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCTIONS))
#undef WIN32_LEAN_AND_MEAN #undef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#ifndef __MINGW32__
#include <Windows.h> #include <Windows.h>
#else
#include <windows.h>
#endif
#endif #endif
// Win32 API clipboard implementation // Win32 API clipboard implementation

Loading…
Cancel
Save