You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2013/10/23 12:45:14 UTC

svn commit: r1534980 - /subversion/trunk/subversion/libsvn_subr/io.c

Author: brane
Date: Wed Oct 23 10:45:13 2013
New Revision: 1534980

URL: http://svn.apache.org/r1534980
Log:
* subversion/libsvn_subr/io.c: Optionally define APR_FREADONLY.

Modified:
    subversion/trunk/subversion/libsvn_subr/io.c

Modified: subversion/trunk/subversion/libsvn_subr/io.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/io.c?rev=1534980&r1=1534979&r2=1534980&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/io.c (original)
+++ subversion/trunk/subversion/libsvn_subr/io.c Wed Oct 23 10:45:13 2013
@@ -38,6 +38,14 @@
 #endif
 #endif
 
+/* This symbol is defined in APR's private header apr_arch_file_io.h.
+   It should really be public, but ... there it is. */
+#if defined(WIN32) || defined(__OS2__) || !defined(APR_HAS_USER)
+#ifndef APR_FREADONLY
+#define APR_FREADONLY 0x10000000
+#endif
+#endif
+
 #include <apr_lib.h>
 #include <apr_pools.h>
 #include <apr_file_io.h>