wrowe 2003/02/24 15:12:24
Modified: include apr_network_io.h
Log:
Namespace protection, thanks to Craig Rodrigues <[EMAIL PROTECTED]>
for the original patch. We deprecate these symbols till we can eradicate
them from APR 1.0.
Revision Changes Path
1.139 +7 -2 apr/include/apr_network_io.h
Index: apr_network_io.h
===================================================================
RCS file: /home/cvs/apr/include/apr_network_io.h,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -r1.138 -r1.139
--- apr_network_io.h 17 Feb 2003 15:06:12 -0000 1.138
+++ apr_network_io.h 24 Feb 2003 23:12:10 -0000 1.139
@@ -78,9 +78,14 @@
extern "C" {
#endif /* __cplusplus */
-#ifndef MAX_SECS_TO_LINGER
+#ifndef APR_MAX_SECS_TO_LINGER
/** Maximum seconds to linger */
-#define MAX_SECS_TO_LINGER 30
+#define APR_MAX_SECS_TO_LINGER 30
+#endif
+
+#ifndef MAX_SECS_TO_LINGER
+/** @deprecated */
+#define MAX_SECS_TO_LINGER APR_MAX_SECS_TO_LINGER
#endif
#ifndef APRMAXHOSTLEN