diff options
Diffstat (limited to 'base/inifile.cc')
-rw-r--r-- | base/inifile.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/inifile.cc b/base/inifile.cc index c12b25030..7f6a42dd6 100644 --- a/base/inifile.cc +++ b/base/inifile.cc @@ -35,7 +35,7 @@ #include <sys/types.h> #include <sys/wait.h> -#if defined(__OpenBSD__) +#if defined(__OpenBSD__) || defined(__APPLE__) #include <libgen.h> #endif #include <stdio.h> @@ -146,7 +146,7 @@ IniFile::loadCPP(const string &file, vector<char *> &cppArgs) execvp("g++", args); - exit(1); + exit(0); } int retval; |