changeset 1402:ce121ac96279

- Fix locking macros
author Ralf Ertzinger <ralf@skytale.net>
date Sat, 04 Aug 2007 18:50:33 +0200
parents 263d72004333
children d7a0b7f3b8c0
files src/flacng/tools.h
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/flacng/tools.h	Sat Aug 04 16:30:43 2007 +0200
+++ b/src/flacng/tools.h	Sat Aug 04 18:50:33 2007 +0200
@@ -23,16 +23,17 @@
 #include <FLAC/all.h>
 #include "flacng.h"
 #include "flac_compat.h"
+#include "debug.h"
 
 #define INFO_LOCK(__info) \
-    do {
+    do { \
         _DEBUG("Trying to lock info %s", (__info)->name); \
         g_mutex_lock((__info)->mutex); \
         _DEBUG("Locked info %s", (__info)->name); \
     } while(0)
 
 #define INFO_UNLOCK(__info) \
-    do {
+    do { \
         _DEBUG("Unlocking info %s", (__info)->name); \
         g_mutex_unlock((__info)->mutex); \
         _DEBUG("Unlocked info %s", (__info)->name); \