Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
11 lines
415 B
C
11 lines
415 B
C
--- include/Trace.h.orig 2013-09-14 18:46:21.000000000 +0800
|
|
+++ include/Trace.h 2013-09-14 18:46:41.000000000 +0800
|
|
@@ -92,7 +92,7 @@ class DebugStream : public ostream
|
|
}
|
|
#else
|
|
#define TRACE(a) \
|
|
- cout << __FILE__ << "(" << __LINE__ << ") #" << (int)pthread_self() << ": " << a << endl;
|
|
+ cout << __FILE__ << "(" << __LINE__ << ") #" << pthread_self() << ": " << a << endl;
|
|
#endif
|
|
#else
|
|
#define TRACE(a) ;
|