[Asterisk-cvs] asterisk logger.c,1.45.2.1,1.45.2.2
russell at lists.digium.com
russell at lists.digium.com
Sun Nov 14 21:29:46 CST 2004
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv5435
Modified Files:
Tag: v1-0
logger.c
Log Message:
fix for older linux systems (bug #2853)
Index: logger.c
===================================================================
RCS file: /usr/cvsroot/asterisk/logger.c,v
retrieving revision 1.45.2.1
retrieving revision 1.45.2.2
diff -u -d -r1.45.2.1 -r1.45.2.2
--- logger.c 3 Nov 2004 02:03:43 -0000 1.45.2.1
+++ logger.c 15 Nov 2004 02:30:32 -0000 1.45.2.2
@@ -48,7 +48,7 @@
#define MAX_MSG_QUEUE 200
-#ifdef __linux__
+#if defined(__linux__) && defined (__NR_gettid)
#include <asm/unistd.h>
#define GETTID() syscall(__NR_gettid)
#else
More information about the svn-commits
mailing list