From 3e8f4f3695970e67d89f1de5c84fadb4c8f97e01 Mon Sep 17 00:00:00 2001 From: TheMode Date: Sun, 9 Mar 2025 06:28:36 +0100 Subject: [PATCH] fix 3ds compile --- imgui.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/imgui.cpp b/imgui.cpp index cac29a932..a5f011342 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -15144,6 +15144,12 @@ static void Platform_SetClipboardTextFn_DefaultImpl(ImGuiContext* ctx, const cha #endif #endif +#ifndef IMGUI_DISABLE_DEFAULT_SHELL_FUNCTIONS +#ifdef __3DS__ +#define IMGUI_DISABLE_DEFAULT_SHELL_FUNCTIONS +#endif +#endif + #ifndef IMGUI_DISABLE_DEFAULT_SHELL_FUNCTIONS #ifdef _WIN32 #include // ShellExecuteA()