1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-11-28 09:30:56 +01:00

Merge pull request #1551 from Crunkle/master

Fix incorrect header name on Linux MinGW systems.
This commit is contained in:
omar 2018-01-14 11:26:03 +01:00 committed by GitHub
commit 8b432cf590
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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