summaryrefslogtreecommitdiff
path: root/locks
diff options
context:
space:
mode:
Diffstat (limited to 'locks')
-rw-r--r--locks/win32/proc_mutex.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/locks/win32/proc_mutex.c b/locks/win32/proc_mutex.c
index c43377e74..8c8b2a543 100644
--- a/locks/win32/proc_mutex.c
+++ b/locks/win32/proc_mutex.c
@@ -102,14 +102,6 @@ APR_DECLARE(apr_status_t) apr_proc_mutex_child_init(apr_proc_mutex_t **mutex,
*/
mutexkey = res_name_from_filename(fname, 1, pool);
-#if defined(_WIN32_WCE)
- hMutex = CreateMutex(NULL, FALSE, mutexkey);
- if (hMutex && ERROR_ALREADY_EXISTS != GetLastError()) {
- CloseHandle(hMutex);
- hMutex = NULL;
- SetLastError(ERROR_FILE_NOT_FOUND);
- }
-#else
#if APR_HAS_UNICODE_FS
IF_WIN_OS_IS_UNICODE
{
@@ -122,7 +114,6 @@ APR_DECLARE(apr_status_t) apr_proc_mutex_child_init(apr_proc_mutex_t **mutex,
hMutex = OpenMutexA(MUTEX_ALL_ACCESS, FALSE, mutexkey);
}
#endif
-#endif
if (!hMutex) {
return apr_get_os_error();