浏览代码

Build fix for non Windows platforms.

ocornut 1 年之前
父节点
当前提交
43925b9fa4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      imgui.cpp

+ 1 - 1
imgui.cpp

@@ -14352,7 +14352,7 @@ static void PlatformOpenInShellFn_DefaultImpl(ImGuiContext*, const char* path)
 {
     ::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)
 {
 #if __APPLE__