summaryrefslogtreecommitdiff
path: root/locks
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-11-27 03:20:39 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-11-27 03:20:39 +0000
commitd2062f71f8003dbc786846011c6a34ac55820d18 (patch)
tree7e234525ab902e62229b998506c41774dc4e08b2 /locks
parent814bbf3cc42027020ab3050464d5e4a3338b817c (diff)
downloadlibapr-d2062f71f8003dbc786846011c6a34ac55820d18.tar.gz
This one is serious - Win9x won't work till it's addressed.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62561 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'locks')
-rw-r--r--locks/win32/thread_mutex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/locks/win32/thread_mutex.c b/locks/win32/thread_mutex.c
index 386ea1de7..2ac52f8bd 100644
--- a/locks/win32/thread_mutex.c
+++ b/locks/win32/thread_mutex.c
@@ -92,6 +92,7 @@ APR_DECLARE(apr_status_t) apr_thread_mutex_lock(apr_thread_mutex_t *mutex)
APR_DECLARE(apr_status_t) apr_thread_mutex_trylock(apr_thread_mutex_t *mutex)
{
BOOL status;
+ /* XXX TryEnterCriticalSection is not available under Win9x */
status = TryEnterCriticalSection(&mutex->section);
if (status) {
return APR_SUCCESS;