Skip to content

Commit 019d96f

Browse files
committed
disable imgui win32 functions
FIXME: Compile imgui separately instead
1 parent d45167e commit 019d96f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Source/GUI/imgui/imgui.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1097,6 +1097,7 @@ CODE
10971097
#endif
10981098

10991099
// [Windows] OS specific includes (optional)
1100+
#define IMGUI_DISABLE_WIN32_FUNCTIONS // FIXME: compile separately instead.
11001101
#if defined(_WIN32) && defined(IMGUI_DISABLE_DEFAULT_FILE_FUNCTIONS) && defined(IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCTIONS) && defined(IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCTIONS) && defined(IMGUI_DISABLE_DEFAULT_SHELL_FUNCTIONS) && !defined(IMGUI_DISABLE_WIN32_FUNCTIONS)
11011102
#define IMGUI_DISABLE_WIN32_FUNCTIONS
11021103
#endif

0 commit comments

Comments
 (0)