summaryrefslogtreecommitdiff
path: root/file_io/win32/flock.c
diff options
context:
space:
mode:
Diffstat (limited to 'file_io/win32/flock.c')
-rw-r--r--file_io/win32/flock.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/file_io/win32/flock.c b/file_io/win32/flock.c
index e08e08a7a..708099a91 100644
--- a/file_io/win32/flock.c
+++ b/file_io/win32/flock.c
@@ -18,10 +18,6 @@
APR_DECLARE(apr_status_t) apr_file_lock(apr_file_t *thefile, int type)
{
-#ifdef _WIN32_WCE
- /* The File locking is unsuported on WCE */
- return APR_ENOTIMPL;
-#else
const DWORD len = 0xffffffff;
DWORD flags;
@@ -59,14 +55,10 @@ APR_DECLARE(apr_status_t) apr_file_lock(apr_file_t *thefile, int type)
}
return APR_SUCCESS;
-#endif /* !defined(_WIN32_WCE) */
}
APR_DECLARE(apr_status_t) apr_file_unlock(apr_file_t *thefile)
{
-#ifdef _WIN32_WCE
- return APR_ENOTIMPL;
-#else
DWORD len = 0xffffffff;
if (apr_os_level >= APR_WIN_NT) {
@@ -82,5 +74,4 @@ APR_DECLARE(apr_status_t) apr_file_unlock(apr_file_t *thefile)
}
return APR_SUCCESS;
-#endif /* !defined(_WIN32_WCE) */
}