subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phi...@apache.org
Subject svn commit: r1581315 - /subversion/trunk/subversion/include/private/svn_dep_compat.h
Date Tue, 25 Mar 2014 13:25:38 GMT
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.



Mime
View raw message