diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2014-05-27 04:55:31 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2014-05-27 04:55:31 +0000 |
| commit | 41a48a0a1803245a188068c5200383b9543c25b2 (patch) | |
| tree | 6d1265a766b5c11e4c2414a994dbabb861526c73 /subversion/include/private/svn_dep_compat.h | |
| parent | 219f5ebf8fca3572d8d4265d78d0e4670ca35a27 (diff) | |
Diffstat (limited to 'subversion/include/private/svn_dep_compat.h')
| -rw-r--r-- | subversion/include/private/svn_dep_compat.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/subversion/include/private/svn_dep_compat.h b/subversion/include/private/svn_dep_compat.h index 71c0b9a75493..108b67cd673e 100644 --- a/subversion/include/private/svn_dep_compat.h +++ b/subversion/include/private/svn_dep_compat.h @@ -78,6 +78,7 @@ void svn_hash__clear(struct apr_hash_t *ht); #if !APR_VERSION_AT_LEAST(1,0,0) #define APR_UINT64_C(val) UINT64_C(val) #define APR_FPROT_OS_DEFAULT APR_OS_DEFAULT +#define apr_hash_make_custom(pool,hash_func) apr_hash_make(pool) #endif #if !APR_VERSION_AT_LEAST(1,3,0) @@ -114,6 +115,12 @@ typedef apr_uint32_t apr_uintptr_t; #define SVN_LOCK_IS_BUSY(x) APR_STATUS_IS_EBUSY(x) #endif +#if !APR_VERSION_AT_LEAST(1,4,0) +#ifndef apr_time_from_msec +#define apr_time_from_msec(msec) ((apr_time_t)(msec) * 1000) +#endif +#endif + /** * Check at compile time if the Serf version is at least a certain * level. |
