projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62fd62f
)
Fixed tid declaration for non-threaded mode
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 22 Mar 2007 09:13:13 +0000
(09:13 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 22 Mar 2007 09:13:13 +0000
(09:13 +0000)
src/log.c
patch
|
blob
|
history
diff --git
a/src/log.c
b/src/log.c
index
351c0bd
..
ced99c5
100644
(file)
--- a/
src/log.c
+++ b/
src/log.c
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: log.c,v 1.48 2007-02-23 10:15:01 adam Exp $
+ * $Id: log.c,v 1.49 2007-03-22 09:13:13 adam Exp $
*/
/**
@@
-389,9
+389,10
@@
static void yaz_strftime(char *dst, size_t sz,
#ifdef WIN32
DWORD tid = GetCurrentThreadId();
#else
- pthread_t tid = 0;
#if YAZ_POSIX_THREADS
- tid = pthread_self();
+ pthread_t tid = pthread_self();
+#else
+ long tid = 0;
#endif
#endif
memcpy(fmt2, fmt, cp-fmt);