diff options
author | Brian Havard <bjh@apache.org> | 2001-09-25 11:42:46 +0000 |
---|---|---|
committer | Brian Havard <bjh@apache.org> | 2001-09-25 11:42:46 +0000 |
commit | c0b3f32c5cef16263c1bdacf4d44ba20a7a8d65d (patch) | |
tree | e73c7a3355513da71bcc7aeb9dd63a8167f381c1 /locks | |
parent | 1eca1d31c564a7a1e3acc838f0a6587db54121ea (diff) | |
download | apr-c0b3f32c5cef16263c1bdacf4d44ba20a7a8d65d.tar.gz |
Add suitable #if protection to non-portable function
apr_proc_mutex_create_np()
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62375 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'locks')
-rw-r--r-- | locks/os2/proc_mutex.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, |