diff options
author | rpj <rpj> | 2002-02-20 06:01:24 +0000 |
---|---|---|
committer | rpj <rpj> | 2002-02-20 06:01:24 +0000 |
commit | 0bd90e988f305e0d8e2e3ce6a844c204c4c7c436 (patch) | |
tree | ffcabafc35e4f9dec9c8aeeaf6fa775c01f0959b | |
parent | 9c3a441d6cfacb1ba2a728e63b887a8128338750 (diff) |
implement.h: Refine use of _LPLONG and _LONG.
pthread_cond_init.c: Whitespace.
-rw-r--r-- | implement.h | 2 | ||||
-rw-r--r-- | pthread_cond_init.c | 1 |
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; |