USE_SPIN_LOCK might be specified by client. As it and USE_PTHREAD_LOCKS
are mutually exclusive, one of them should be undefined.
* include/private/gc_locks.h [(!AO_HAVE_test_and_set_acquire
|| GC_RTEMS_PTHREADS || SN_TARGET_PS3 || GC_WIN32_THREADS || LINT2)
&& GC_PTHREADS] (USE_SPIN_LOCK): Undefine (as USE_PTHREAD_LOCKS is
defined).
|| defined(SN_TARGET_PS3) || defined(GC_WIN32_THREADS) \
|| defined(LINT2)) && defined(GC_PTHREADS)
# define USE_PTHREAD_LOCKS
+# undef USE_SPIN_LOCK
# endif
# if defined(GC_WIN32_THREADS) && !defined(USE_PTHREAD_LOCKS)