From da44874127b07449e9c53f19179b99d300384a8b Mon Sep 17 00:00:00 2001 From: Socapex Date: Sat, 29 Dec 2012 14:52:48 -0500 Subject: OS X now compiles with process.cpp --- src/utils/process.cpp | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'src/utils') diff --git a/src/utils/process.cpp b/src/utils/process.cpp index 8e238b4cc..f284cc7e1 100644 --- a/src/utils/process.cpp +++ b/src/utils/process.cpp @@ -102,29 +102,12 @@ bool openBrowser(std::string url) nullptr, SW_SHOWNORMAL) > 32; } -#elif defined(__APPLE__) -int execFileWait(std::string pathName, std::string name, - std::string arg1, std::string arg2, int waitTime) -{ - return -1; -} - -bool execFile(std::string pathName, std::string name, - std::string arg1, std::string arg2) -{ - return false; -} - -bool openBrowser(std::string url) -{ - return false; -} - -#elif defined __linux__ || defined __linux +#elif defined __linux__ || defined __linux || defined __APPLE__ #include #include +#include int execFileWait(std::string pathName, std::string name, std::string arg1, std::string arg2, int waitTime) -- cgit v1.2.3-60-g2f50