Skip to content

Commit

Permalink
Fix definition check (#7793)
Browse files Browse the repository at this point in the history
  • Loading branch information
cheyao authored Jul 14, 2024
1 parent c3c90b4 commit 126569a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
Expand Down

0 comments on commit 126569a

Please sign in to comment.