1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Mac OS patch from stopiccot

This commit is contained in:
Ivan Savenko
2012-12-01 06:30:52 +00:00
parent 7be00e97a0
commit 2643762f08
20 changed files with 572 additions and 38 deletions

View File

@@ -3,7 +3,7 @@
#ifdef _WIN32
#include <windows.h>
#else
#elif !defined(__APPLE__)
#include <sys/prctl.h>
#endif
/*
@@ -80,7 +80,7 @@ void setThreadName(const std::string &name)
//not supported
#endif
#else
prctl(PR_SET_NAME, name.c_str(), 0, 0, 0);
#elif defined(__linux__)
prctl(PR_SET_NAME, name.c_str(), 0, 0, 0);
#endif
}