mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Fix definition check (#7793)
This commit is contained in:
parent
c3c90b49e0
commit
126569ad5b
1 changed files with 1 additions and 1 deletions
|
|
@ -14378,7 +14378,7 @@ static bool PlatformOpenInShellFn_DefaultImpl(ImGuiContext*, const char* path)
|
|||
#include <unistd.h>
|
||||
static bool PlatformOpenInShellFn_DefaultImpl(ImGuiContext*, const char* path)
|
||||
{
|
||||
#if __APPLE__
|
||||
#if defined(__APPLE__)
|
||||
const char* args[] { "open", "--", path, NULL };
|
||||
#else
|
||||
const char* args[] { "xdg-open", path, NULL };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue