mirror of
https://github.com/ocornut/imgui.git
synced 2026-05-28 12:06:39 +08:00
Fix definition check (#7793)
This commit is contained in:
@@ -14378,7 +14378,7 @@ static bool PlatformOpenInShellFn_DefaultImpl(ImGuiContext*, const char* path)
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
static bool PlatformOpenInShellFn_DefaultImpl(ImGuiContext*, const char* path)
|
static bool PlatformOpenInShellFn_DefaultImpl(ImGuiContext*, const char* path)
|
||||||
{
|
{
|
||||||
#if __APPLE__
|
#if defined(__APPLE__)
|
||||||
const char* args[] { "open", "--", path, NULL };
|
const char* args[] { "open", "--", path, NULL };
|
||||||
#else
|
#else
|
||||||
const char* args[] { "xdg-open", path, NULL };
|
const char* args[] { "xdg-open", path, NULL };
|
||||||
|
|||||||
Reference in New Issue
Block a user