subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1076846 - /subversion/trunk/subversion/include/private/svn_dep_compat.h
Date Thu, 03 Mar 2011 22:28:02 GMT
Author: stefan2
Date: Thu Mar  3 22:28:02 2011
New Revision: 1076846

URL: http://svn.apache.org/viewvc?rev=1076846&view=rev
Log:
Fix build with pre-1.3.0 APR broken by with 1076556.

* subversion/include/private/svn_dep_compat.h
  (apr_uintptr_t): ensure that this is declared even with pre-1.3.0 APR

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=1076846&r1=1076845&r2=1076846&view=diff
==============================================================================
--- subversion/trunk/subversion/include/private/svn_dep_compat.h (original)
+++ subversion/trunk/subversion/include/private/svn_dep_compat.h Thu Mar  3 22:28:02 2011
@@ -73,7 +73,13 @@ extern "C" {
 #define APR_INT64_MAX   APR_INT64_C(0x7FFFFFFFFFFFFFFF)
 #define APR_INT64_MIN (-APR_INT64_MAX-1)
 #define APR_SIZE_MAX (~(apr_size_t)0)
+
+#if APR_SIZEOF_VOIDP == 8
+typedef apr_uint64_t apr_uintptr_t;
+#else
+typedef apr_uint32_t apr_uintptr_t;
 #endif
+#endif /* !APR_VERSION_AT_LEAST(1,3,0) */
 
 /**
  * Check at compile time if the Serf version is at least a certain



Mime
View raw message