diff options
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 71c0b9a754931..108b67cd673ee 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. |