From 0bd90e988f305e0d8e2e3ce6a844c204c4c7c436 Mon Sep 17 00:00:00 2001 From: rpj Date: Wed, 20 Feb 2002 06:01:24 +0000 Subject: implement.h: Refine use of _LPLONG and _LONG. pthread_cond_init.c: Whitespace. --- implement.h | 2 +- pthread_cond_init.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/implement.h b/implement.h index a564105..81c1e61 100644 --- a/implement.h +++ b/implement.h @@ -69,7 +69,7 @@ #define INLINE #endif -#ifdef __MINGW32__ +#if defined (__MINGW32__) || (_MSC_VER >= 1300) #define PTW32_INTERLOCKED_LONG long #define PTW32_INTERLOCKED_LPLONG long* #else diff --git a/pthread_cond_init.c b/pthread_cond_init.c index 446fcc1..b479e88 100644 --- a/pthread_cond_init.c +++ b/pthread_cond_init.c @@ -157,6 +157,7 @@ DONE: LeaveCriticalSection(&ptw32_cond_list_lock); } + *cond = cv; return result; -- cgit v1.2.3