summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrpj <rpj>2002-02-20 06:01:24 +0000
committerrpj <rpj>2002-02-20 06:01:24 +0000
commit0bd90e988f305e0d8e2e3ce6a844c204c4c7c436 (patch)
treeffcabafc35e4f9dec9c8aeeaf6fa775c01f0959b
parent9c3a441d6cfacb1ba2a728e63b887a8128338750 (diff)
implement.h: Refine use of _LPLONG and _LONG.
pthread_cond_init.c: Whitespace.
-rw-r--r--implement.h2
-rw-r--r--pthread_cond_init.c1
2 files changed, 2 insertions, 1 deletions
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;