Moved RECURSIVE_LOCK_HOLDER() macro to the header and fixed it.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29407 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2009-03-05 23:15:15 +00:00
parent c964442c9b
commit a7edf1f7c0
2 changed files with 7 additions and 7 deletions
+7
View File
@@ -88,6 +88,13 @@ typedef struct rw_lock {
#define RW_LOCK_INITIALIZER(name) { name, NULL, -1, 0, 0, 0 }
#if KDEBUG
# define RECURSIVE_LOCK_HOLDER(recursiveLock) ((recursiveLock)->lock.holder)
#else
# define RECURSIVE_LOCK_HOLDER(recursiveLock) ((recursiveLock)->holder)
#endif
#ifdef __cplusplus
extern "C" {
#endif