diff options
author | Mladen Turk <mturk@apache.org> | 2021-12-02 21:21:18 +0000 |
---|---|---|
committer | Mladen Turk <mturk@apache.org> | 2021-12-02 21:21:18 +0000 |
commit | 6487330c38e3c0430782a5ceca674b94398f347f (patch) | |
tree | ededff55d7051624a164926ea86ad603d6776026 /locks | |
parent | 2520ce23f2830c59cfc2786effbbe72903c49ad5 (diff) | |
download | apr-6487330c38e3c0430782a5ceca674b94398f347f.tar.gz |
Stage 3 in dismantling _WIN32_WCE ... cleanup code
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895508 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'locks')
-rw-r--r-- | locks/win32/proc_mutex.c | 9 |
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(); |