blob: c06f2cb6f41b1edb7220e87f500733aa5fd32537 [file] [log] [blame]
/* Copyright 2003-2004 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef MODPERL_APACHE_COMPAT_H
#define MODPERL_APACHE_COMPAT_H
/* back compat adjustements for older Apache versions */
#if !APR_HAS_THREADS
typedef unsigned long apr_os_thread_t;
typedef void * apr_thread_mutex_t;
#endif
/* back compat adjustements for older Apache versions
* BACK_COMPAT_MARKER: make back compat issues easy to find :)
*/
/* use the following format:
* #if ! AP_MODULE_MAGIC_AT_LEAST(20020903,4)
* [compat code]
* #endif
* and don't forget to insert comments explaining exactly
* which httpd release allows us to remove the compat code
*/
#endif /* MODPERL_APACHE_COMPAT_H */