--- httpd-2.0.48/srclib/apr/threadproc/unix/threadpriv.c 2003-01-06 23:44:38.000000000 +0000 +++ httpd-2.0.48-gentoo/srclib/apr/threadproc/unix/threadpriv.c 2004-01-05 10:41:58.000000000 +0000 @@ -100,9 +100,9 @@ } } -#ifdef HAVE_PTHREAD_KEY_DELETE APR_DECLARE(apr_status_t) apr_threadkey_private_delete(apr_threadkey_t *key) { +#ifdef HAVE_PTHREAD_KEY_DELETE apr_status_t stat; if ((stat = pthread_key_delete(key->key)) == 0) { @@ -110,8 +110,10 @@ } return stat; -} +#else + return APR_ENOTIMPL; #endif +} APR_DECLARE(apr_status_t) apr_threadkey_data_get(void **data, const char *key, apr_threadkey_t *threadkey)