Marin Ramesa, le Sun 15 Dec 2013 22:00:12 +0100, a écrit : > @@ -228,6 +228,8 @@ void assert_wait( > thread_t thread; > #if MACH_SLOCKS > simple_lock_t lock; > +#else /* MACH_SLOCKS */ > + decl_simple_lock_data( , *lock); > #endif /* MACH_SLOCKS */
Shouldn't it be possible to simply only keep the decl_simple_lock_data version, and avoid the #if altogether? Samuel