You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by gs...@apache.org on 2012/06/13 11:06:57 UTC

svn commit: r1349693 - /subversion/trunk/subversion/libsvn_subr/cache-memcache.c

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