diff options
author | Bruno Haible <bruno@clisp.org> | 2008-10-14 03:40:49 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2008-10-14 03:40:49 +0200 |
commit | 44a64be5593bf0c5b49de64dd8204114eab7b521 (patch) | |
tree | 261bb00436e0e7fb5129c5360efcfc9f138d2a26 /lib/glthread/cond.c | |
parent | 3b8caead4388d424884b49c791a2e85d7750623f (diff) | |
download | gnulib-44a64be5593bf0c5b49de64dd8204114eab7b521.tar.gz |
Fix syntax error in native Win32 code.
Diffstat (limited to 'lib/glthread/cond.c')
-rw-r--r-- | lib/glthread/cond.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/glthread/cond.c b/lib/glthread/cond.c index c35272e7c7..fe023f807b 100644 --- a/lib/glthread/cond.c +++ b/lib/glthread/cond.c @@ -179,7 +179,7 @@ glthread_cond_wait_func (gl_cond_t *cond, gl_lock_t *lock) LeaveCriticalSection (&cond->lock); return (err ? err : - ret == WAIT_OBJECT_0 ? 0 : + result == WAIT_OBJECT_0 ? 0 : /* WAIT_FAILED shouldn't happen */ EAGAIN); } } @@ -305,8 +305,8 @@ glthread_cond_timedwait_func (gl_cond_t *cond, gl_lock_t *lock, struct timespec LeaveCriticalSection (&cond->lock); return (err ? err : - ret == WAIT_OBJECT_0 ? 0 : - ret == WAIT_TIMEOUT ? ETIMEDOUT : + result == WAIT_OBJECT_0 ? 0 : + result == WAIT_TIMEOUT ? ETIMEDOUT : /* WAIT_FAILED shouldn't happen */ EAGAIN); } } |