aboutsummaryrefslogtreecommitdiff
path: root/src/threading.c
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2018-11-26 16:59:17 +0100
committerGitHub <noreply@github.com>2018-11-26 16:59:17 +0100
commit2fa85f595593f2866e111df38cdea9f4857d0a21 (patch)
tree3a1781925098930e33fb16e646e7b847b117798c /src/threading.c
parent5323d25231d327bfbdf12e1fc077903383bf8739 (diff)
parent1e8656f3d9f920b23a5106de2dd6167471ccbdb2 (diff)
downloadlanes-2fa85f595593f2866e111df38cdea9f4857d0a21.tar.gz
lanes-2fa85f595593f2866e111df38cdea9f4857d0a21.tar.bz2
lanes-2fa85f595593f2866e111df38cdea9f4857d0a21.zip
Merge pull request #167 from eligovision/lanes_threads_macos
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