diff options
author | Michael Biebl <biebl@debian.org> | 2013-03-27 12:03:58 +0100 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2013-03-27 12:03:58 +0100 |
commit | d7c2f609d30d5e4d2c69dd2dc7305bd8ec5736ec (patch) | |
tree | ab4cde54583b0e1eb92fdafe0eb7282b7923daa9 /runtime/debug.c | |
parent | 86831d7a4f485e19befa8cc500d17766798ad07c (diff) | |
download | rsyslog-upstream/7.3.9.tar.gz |
Imported Upstream version 7.3.9upstream/7.3.9
Diffstat (limited to 'runtime/debug.c')
-rw-r--r-- | runtime/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/debug.c b/runtime/debug.c index 3cb2223..876f61d 100644 --- a/runtime/debug.c +++ b/runtime/debug.c @@ -303,7 +303,7 @@ static inline void dbgFuncDBRemoveMutexLock(dbgFuncDB_t *pFuncDB, pthread_mutex_ void dbgOutputTID(char* name) { -# ifdef HAVE_SYSCALL +# if defined(HAVE_SYSCALL) && defined(HAVE_SYS_gettid) if(bOutputTidToStderr) fprintf(stderr, "thread tid %u, name '%s'\n", (unsigned)syscall(SYS_gettid), name); |