mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 11:42:27 +00:00
fix for older linux systems (bug #2853)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4252 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
2
logger.c
2
logger.c
@@ -48,7 +48,7 @@ static int syslog_level_map[] = {
|
|||||||
|
|
||||||
#define MAX_MSG_QUEUE 200
|
#define MAX_MSG_QUEUE 200
|
||||||
|
|
||||||
#ifdef __linux__
|
#if defined(__linux__) && defined (__NR_gettid)
|
||||||
#include <asm/unistd.h>
|
#include <asm/unistd.h>
|
||||||
#define GETTID() syscall(__NR_gettid)
|
#define GETTID() syscall(__NR_gettid)
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user