Build fix for non Windows platforms.

This commit is contained in:
ocornut 2024-07-02 16:10:54 +02:00
parent ddd4c9d6b9
commit 43925b9fa4

View File

@ -14352,7 +14352,7 @@ static void PlatformOpenInShellFn_DefaultImpl(ImGuiContext*, const char* path)
{ {
::ShellExecuteA(NULL, "open", path, NULL, NULL, SW_SHOWDEFAULT); ::ShellExecuteA(NULL, "open", path, NULL, NULL, SW_SHOWDEFAULT);
} }
#elif !defined(IMGUI_DISABLE_DEFAULT_SHELL_FUNCTIONS)) #elif !defined(IMGUI_DISABLE_DEFAULT_SHELL_FUNCTIONS)
static void PlatformOpenInShellFn_DefaultImpl(ImGuiContext*, const char* path) static void PlatformOpenInShellFn_DefaultImpl(ImGuiContext*, const char* path)
{ {
#if __APPLE__ #if __APPLE__