From 7a3104dc65b469cbb9c88b6a9c7b7bea4126a43e Mon Sep 17 00:00:00 2001 From: rpj Date: Thu, 5 Jul 2001 17:04:39 +0000 Subject: Fixups to last commit. --- implement.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'implement.h') diff --git a/implement.h b/implement.h index 34055dd..8d19406 100644 --- a/implement.h +++ b/implement.h @@ -136,8 +136,9 @@ struct sem_t_ { #define PTW32_OBJECT_AUTO_INIT ((void *) -1) #define PTW32_OBJECT_INVALID NULL -#define PTW32_SPIN_UNLOCKED ((void *) 1) -#define PTW32_SPIN_LOCKED ((void *) 2) +#define PTW32_SPIN_UNLOCKED (1) +#define PTW32_SPIN_LOCKED (2) +#define PTW32_SPIN_INTERLOCK_MASK (~3L) struct pthread_mutex_t_ { LONG lock_idx; -- cgit v1.2.3