subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@apache.org
Subject svn commit: r1349693 - /subversion/trunk/subversion/libsvn_subr/cache-memcache.c
Date Wed, 13 Jun 2012 09:06:57 GMT
Author: gstein
Date: Wed Jun 13 09:06:57 2012
New Revision: 1349693

URL: http://svn.apache.org/viewvc?rev=1349693&view=rev
Log:
* subversion/libsvn_subr/cache-memcache.c:
  (...): use svn_dep_compat.h instead

Suggested by: hwright

Modified:
    subversion/trunk/subversion/libsvn_subr/cache-memcache.c

Modified: subversion/trunk/subversion/libsvn_subr/cache-memcache.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/cache-memcache.c?rev=1349693&r1=1349692&r2=1349693&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/cache-memcache.c (original)
+++ subversion/trunk/subversion/libsvn_subr/cache-memcache.c Wed Jun 13 09:06:57 2012
@@ -29,6 +29,7 @@
 
 #include "svn_private_config.h"
 #include "private/svn_cache.h"
+#include "private/svn_dep_compat.h"
 
 #include "cache.h"
 
@@ -36,11 +37,6 @@
 
 #include <apr_memcache.h>
 
-/* Older APRs do not have this.  */
-#ifndef APR_INT16_MAX
-#define APR_INT16_MAX   (0x7fff)
-#endif
-
 /* A note on thread safety:
 
    The apr_memcache_t object does its own mutex handling, and nothing



Mime
View raw message