From 820ca4b34c23ef8d91edade437f0f9fd781f8b89 Mon Sep 17 00:00:00 2001 From: rpj Date: Thu, 25 Oct 2001 23:51:53 +0000 Subject: * GNUmakefile (libwsock32): Add to linker flags for WSAGetLastError() and WSASetLastError(). * Makefile (wsock32.lib): Likewise. * create.c: Minor mostly inert changes. * implement.h (PTW32_MAX): Move into here and renamed from sched.h. (PTW32_MIN): Likewise. * GNUmakefile (TEST_ICE): Define if testing internal implementation of InterlockedCompareExchange. * Makefile (TEST_ICE): Likewise. * private.c (TEST_ICE): Likewise. --- spin.c | 1 + 1 file changed, 1 insertion(+) (limited to 'spin.c') diff --git a/spin.c b/spin.c index 09c5031..070e3ff 100644 --- a/spin.c +++ b/spin.c @@ -110,6 +110,7 @@ pthread_spin_init(pthread_spinlock_t *lock, int pshared) #endif /* _POSIX_THREAD_PROCESS_SHARED */ } + } s = (pthread_spinlock_t) calloc(1, sizeof(*s)); -- cgit v1.2.3