Skip to content

Commit

Permalink
fix object for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesneimog committed Nov 26, 2024
1 parent f460e88 commit 3402bdb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Resources/Pd/pd4web.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ static bool pd4web_terminal(Pd4Web *x, std::string cmd, bool detached, bool suce
bool showMessage, bool clearNewline);

// ─────────────────────────────────────
#if defined(__APPLE__)
static std::string pd4web_terminal_info(Pd4Web *x, std::string cmd) {
std::array<char, 128> buffer;
std::string result;
Expand Down Expand Up @@ -89,6 +90,7 @@ static std::string pd4web_terminal_info(Pd4Web *x, std::string cmd) {

return path.string();
}
#endif

// ─────────────────────────────────────
bool pd4web_terminal(Pd4Web *x, std::string cmd, bool detached = false,
Expand Down

0 comments on commit 3402bdb

Please sign in to comment.