summaryrefslogtreecommitdiffstats
path: root/sync.h
diff options
context:
space:
mode:
Diffstat (limited to 'sync.h')
-rw-r--r--sync.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/sync.h b/sync.h
index 204737dc..33e2658d 100644
--- a/sync.h
+++ b/sync.h
@@ -38,13 +38,8 @@
* operations. If we run in debug mode, we use functions, because they
* are better to trace in the stackframe.
*/
-#ifdef NDEBUG
#define LockObj(x) d_pthread_mutex_lock((x)->Sync_mut)
#define UnlockObj(x) d_pthread_mutex_unlock((x)->Sync_mut)
-#else
-#define LockObj(x) lockObj((x)->Sync_mut)
-#define UnlockObj(x) unlockObj((x)->Sync_mut)
-#endif
void SyncObjInit(pthread_mutex_t **mut);
void SyncObjExit(pthread_mutex_t **mut);