diff options
author | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2000-06-22 16:05:39 +0000 |
---|---|---|
committer | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2000-06-22 16:05:39 +0000 |
commit | 4995c86425921dca3b62238a909fd24dc1f05ae2 (patch) | |
tree | 888ea8453e2c3dcc2c6b1f39c1d7d628dbd0a775 /threadproc/unix | |
parent | 21b98cff9922df4b06bf86e2f924bad1a7687585 (diff) | |
download | libapr-4995c86425921dca3b62238a909fd24dc1f05ae2.tar.gz |
Cleanup yesterday's patch to make APR use APR namespace protected macros.
This makes APR use #if instead of #ifdef when using an APR macro. Since
APR has stated that it will be using #if always, this is at least a step
in that direction. This also fixes a problem with building MMAP that I
think I introduced yesterday.
Submitted by: Bill Stoddard
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60241 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/unix')
-rw-r--r-- | threadproc/unix/thread.c | 2 | ||||
-rw-r--r-- | threadproc/unix/threadpriv.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/threadproc/unix/thread.c b/threadproc/unix/thread.c index 09e491064..97db69de3 100644 --- a/threadproc/unix/thread.c +++ b/threadproc/unix/thread.c @@ -58,7 +58,7 @@ #if APR_HAS_THREADS -#ifdef APR_HAVE_PTHREAD_H +#if APR_HAVE_PTHREAD_H ap_status_t ap_create_threadattr(ap_threadattr_t **new, ap_pool_t *cont) { ap_status_t stat; diff --git a/threadproc/unix/threadpriv.c b/threadproc/unix/threadpriv.c index 3d083835c..b783f9699 100644 --- a/threadproc/unix/threadpriv.c +++ b/threadproc/unix/threadpriv.c @@ -58,7 +58,7 @@ #if APR_HAS_THREADS -#ifdef APR_HAVE_PTHREAD_H +#if APR_HAVE_PTHREAD_H ap_status_t ap_create_thread_private(ap_threadkey_t **key, void (*dest)(void *), ap_pool_t *cont) { |