mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-20 00:29:56 +00:00
Make older & bogus compilers happy. aka. force "static" storage class
for SPIN_LOCK_UNLOCKED constant.
This commit is contained in:
parent
c7dd356f7f
commit
792bef8e61
@ -284,7 +284,7 @@ static inline int testandset(int *p)
|
||||
#define HAVE_SPINLOCKS 1
|
||||
typedef int spinlock_t;
|
||||
|
||||
const spinlock_t SPIN_LOCK_UNLOCKED = 0;
|
||||
static const spinlock_t SPIN_LOCK_UNLOCKED = 0;
|
||||
|
||||
static inline void spin_lock(spinlock_t *lock)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user