From 0a100f061505b58b741aab3e4f874d832ed07505 Mon Sep 17 00:00:00 2001 From: bjh Date: Tue, 25 Sep 2001 11:42:46 +0000 Subject: Add suitable #if protection to non-portable function apr_proc_mutex_create_np() git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62375 13f79535-47bb-0310-9956-ffa450edef68 --- locks/os2/proc_mutex.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'locks/os2/proc_mutex.c') diff --git a/locks/os2/proc_mutex.c b/locks/os2/proc_mutex.c index 8cf331bdb..d8a81e29d 100644 --- a/locks/os2/proc_mutex.c +++ b/locks/os2/proc_mutex.c @@ -67,6 +67,7 @@ APR_DECLARE(apr_status_t) apr_proc_mutex_create(apr_proc_mutex_t **mutex, return APR_ENOTIMPL; } +#if APR_HAS_LOCK_CREATE_NP APR_DECLARE(apr_status_t) apr_proc_mutex_create_np(apr_proc_mutex_t **mutex, const char *fname, apr_lockmech_e_np mech, @@ -74,6 +75,7 @@ APR_DECLARE(apr_status_t) apr_proc_mutex_create_np(apr_proc_mutex_t **mutex, { return APR_ENOTIMPL; } +#endif APR_DECLARE(apr_status_t) apr_proc_mutex_child_init(apr_proc_mutex_t **mutex, const char *fname, -- cgit v1.2.1