diff options
author | gstein <gstein@13f79535-47bb-0310-9956-ffa450edef68> | 2001-02-24 11:23:19 +0000 |
---|---|---|
committer | gstein <gstein@13f79535-47bb-0310-9956-ffa450edef68> | 2001-02-24 11:23:19 +0000 |
commit | e47fa40b67155dc3717501f6930ed2376026a276 (patch) | |
tree | c3bb79546928a3cf88bca816d4d379b31d12784b /include/apr_general.h | |
parent | 08bac6ee5a23156a505f45cc69f5231c895a1450 (diff) | |
download | libapr-e47fa40b67155dc3717501f6930ed2376026a276.tar.gz |
*) fix inline handling. we had: apr_inline, APR_INLINE, USE_GNU_INLINE, and
INLINE. Now, we just have APR_INLINE and APR_HAS_INLINE.
- convert all usage
- note that apr_general messed up the defn (compared to apr.h)
- simplify the inline decision logic in os/*/os.h
- simplify the code in os/*/os-inline.c
*) toss ap_checkconv() [no longer used]
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61291 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_general.h')
-rw-r--r-- | include/apr_general.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/apr_general.h b/include/apr_general.h index 33d0a8060..820ce5080 100644 --- a/include/apr_general.h +++ b/include/apr_general.h @@ -78,15 +78,6 @@ extern "C" { typedef int apr_signum_t; -#ifdef WIN32 -#define APR_INLINE __inline -#elif defined(__GNUC__) && defined(__GNUC__) && \ - __GNUC__ >= 2 && __GNUC_MINOR__ >= 7 -#define APR_INLINE __inline__ -#else -#define APR_INLINE /*nop*/ -#endif - /* Finding offsets of elements within structures. * Taken from the X code... they've sweated portability of this stuff * so we don't have to. Sigh... |