You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ph...@apache.org on 2014/03/25 14:25:38 UTC
svn commit: r1581315 -
/subversion/trunk/subversion/include/private/svn_dep_compat.h
Author: philip
Date: Tue Mar 25 13:25:38 2014
New Revision: 1581315
URL: http://svn.apache.org/r1581315
Log:
* subversion/include/private/svn_dep_compat.h
(apr_time_from_msec): Define for APR before 1.4.
Modified:
subversion/trunk/subversion/include/private/svn_dep_compat.h
Modified: subversion/trunk/subversion/include/private/svn_dep_compat.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/private/svn_dep_compat.h?rev=1581315&r1=1581314&r2=1581315&view=diff
==============================================================================
--- subversion/trunk/subversion/include/private/svn_dep_compat.h (original)
+++ subversion/trunk/subversion/include/private/svn_dep_compat.h Tue Mar 25 13:25:38 2014
@@ -74,6 +74,12 @@ extern "C" {
#define APR_OPENINFO 0x00100000
#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.