fix 3ds compile

This commit is contained in:
TheMode 2025-03-09 06:28:36 +01:00 committed by GitHub
parent 1ec99f4fd3
commit 3e8f4f3695
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 <shellapi.h> // ShellExecuteA()