apr_pool_pre_cleanup_register(process->pconf, NULL, deregister_all_hooks);
}
-#ifdef APR_HAS_THREAD_LOCAL
+#if APR_HAS_THREAD_LOCAL
static apr_status_t main_thread_exit_cleanup(void *arg)
{
apr_thread_t *thd = arg;
process->argv = *argv;
process->short_name = apr_filepath_name_get((*argv)[0]);
-#ifdef APR_HAS_THREAD_LOCAL
+#if APR_HAS_THREAD_LOCAL
/* Create an apr_thread_t for the main thread to set up its
* Thread Local Storage. Since it's detached and it won't
* apr_thread_exit(), destroy its pool before exiting via
#endif
}
-#ifdef APR_HAS_THREAD_LOCAL
+#if APR_HAS_THREAD_LOCAL
struct apreg_tls {
match_data_pt data;
apr_thread_t *current;
struct apreg_tls *tls = NULL;
- /* Even though APR_HAS_THREAD_LOCAL is compiled in we may still be
- * called by a native/non-apr thread, let's fall back to alloc/free
- * in this case.
+ /* Even though APR_HAS_THREAD_LOCAL, we may still be called by a
+ * native/non-apr thread, let's fall back to alloc/free in this case.
*/
current = apr_thread_current();
if (!current) {