diff options
author | bjh <bjh@13f79535-47bb-0310-9956-ffa450edef68> | 2001-09-25 11:42:46 +0000 |
---|---|---|
committer | bjh <bjh@13f79535-47bb-0310-9956-ffa450edef68> | 2001-09-25 11:42:46 +0000 |
commit | 0a100f061505b58b741aab3e4f874d832ed07505 (patch) | |
tree | e73c7a3355513da71bcc7aeb9dd63a8167f381c1 /locks/os2/proc_mutex.c | |
parent | e178c5525654d384ec98165631b3eb5f3c8444ff (diff) | |
download | libapr-0a100f061505b58b741aab3e4f874d832ed07505.tar.gz |
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
Diffstat (limited to 'locks/os2/proc_mutex.c')
-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, |