Merge pull request #650 from dgomes/fix_macos

Fix to compile in MacOS 14
This commit is contained in:
fvanroie 2024-02-23 13:25:56 +01:00 committed by GitHub
commit 02715644bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@
#if defined(POSIX) #if defined(POSIX)
#include <unistd.h> #include <unistd.h>
#include <linux/limits.h> #include <limits.h>
#define cwd getcwd #define cwd getcwd
#endif #endif

View File

@ -18,7 +18,7 @@
#include <netdb.h> #include <netdb.h>
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include <linux/limits.h> #include <limits.h>
#include <sys/types.h> #include <sys/types.h>
#include <pwd.h> #include <pwd.h>
#define cwd getcwd #define cwd getcwd

View File

@ -1,7 +1,7 @@
Import("env") Import("env")
#env.Replace(CC="gcc-10", CXX="g++-10") #env.Replace(CC="gcc-10", CXX="g++-10")
env.Replace(CC="gcc-12", CXX="g++-12") env.Replace(CC="gcc-13", CXX="g++-13")
env.Replace(BUILD_SCRIPT="tools/osx_build_script.py") env.Replace(BUILD_SCRIPT="tools/osx_build_script.py")