From 59234e93a7aaf2f62bdd19bea39681e74752d1c5 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Tue, 10 Oct 2006 23:20:35 +0000 Subject: [PATCH] irix-compiler-hates-commas-20061010 damn is irix fussy --- src/afs/IRIX/osi_machdep.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/afs/IRIX/osi_machdep.h b/src/afs/IRIX/osi_machdep.h index e13bbfb8a..032797cab 100644 --- a/src/afs/IRIX/osi_machdep.h +++ b/src/afs/IRIX/osi_machdep.h @@ -160,7 +160,7 @@ extern flid_t osi_flid; #else #define AFS_GLOCK() AFS_MUTEX_ENTER(&afs_global_lock) #endif -#define AFS_GUNLOCK() (AFS_ASSERT_GLOCK(), mutex_exit(&afs_global_lock)) +#define AFS_GUNLOCK() { AFS_ASSERT_GLOCK(); mutex_exit(&afs_global_lock); } #define ISAFS_GLOCK() mutex_mine(&afs_global_lock) #else extern long afs_global_owner; @@ -170,7 +170,7 @@ extern long afs_global_owner; afs_global_owner = osi_ThreadUnique(); \ MACRO_END #define AFS_GUNLOCK() \ - (AFS_ASSERT_GLOCK(), afs_global_owner = 0, mutex_exit(&afs_global_lock)) + { AFS_ASSERT_GLOCK(); afs_global_owner = 0; mutex_exit(&afs_global_lock); } #define ISAFS_GLOCK() (osi_ThreadUnique() == afs_global_owner) #endif /* AFS_SGI64_ENV */ #else /* MP */ -- 2.39.5