subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1534980 - /subversion/trunk/subversion/libsvn_subr/io.c
Date Wed, 23 Oct 2013 10:45:14 GMT
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>



Mime
View raw message