aboutsummaryrefslogtreecommitdiff
path: root/src/threading.c
diff options
context:
space:
mode:
authorvalid-ptr <konstantin.matveyev@eligovision.ru>2018-11-26 18:27:26 +0300
committerKonstantin S. Matveyev <root@zorro.ev>2018-11-26 18:28:52 +0300
commit1e8656f3d9f920b23a5106de2dd6167471ccbdb2 (patch)
tree1ee9b66b46479e3d515b8fdc5e756e0a26935cee /src/threading.c
parent7809a2c08bd3dbea49af2f19a24346372f219b5b (diff)
downloadlanes-1e8656f3d9f920b23a5106de2dd6167471ccbdb2.tar.gz
lanes-1e8656f3d9f920b23a5106de2dd6167471ccbdb2.tar.bz2
lanes-1e8656f3d9f920b23a5106de2dd6167471ccbdb2.zip
Compilation of 'threading.c' fixed for macos
Diffstat (limited to 'src/threading.c')
-rw-r--r--src/threading.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/threading.c b/src/threading.c
index c0e6a55..7b75986 100644
--- a/src/threading.c
+++ b/src/threading.c
@@ -58,6 +58,10 @@ THE SOFTWARE.
58 volatile bool_t sudo; 58 volatile bool_t sudo;
59#endif 59#endif
60 60
61#ifdef PLATFORM_OSX
62# include "threading_osx.h"
63#endif
64
61/* Linux with older glibc (such as Debian) don't have pthread_setname_np, but have prctl 65/* Linux with older glibc (such as Debian) don't have pthread_setname_np, but have prctl
62*/ 66*/
63#if defined PLATFORM_LINUX 67#if defined PLATFORM_LINUX