apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r164182 - in /apr/apr/trunk: include/apr.hw poll/unix/select.c
Date Fri, 22 Apr 2005 07:25:24 GMT
Author: mturk
Date: Fri Apr 22 00:25:23 2005
New Revision: 164182

URL: http://svn.apache.org/viewcvs?rev=164182&view=rev
Log:
Remove setting FD_SETSIZE from apr.hw to
select.c (the only place it is used).

Modified:
    apr/apr/trunk/include/apr.hw
    apr/apr/trunk/poll/unix/select.c

Modified: apr/apr/trunk/include/apr.hw
URL: http://svn.apache.org/viewcvs/apr/apr/trunk/include/apr.hw?rev=164182&r1=164181&r2=164182&view=diff
==============================================================================
--- apr/apr/trunk/include/apr.hw (original)
+++ apr/apr/trunk/include/apr.hw Fri Apr 22 00:25:23 2005
@@ -86,8 +86,6 @@
  */
 #define SW_HIDE             0
 #ifndef _WIN32_WCE
-/* POSIX defines 1024 for the FD_SETSIZE */
-#define FD_SETSIZE 1024
 #include <winsock2.h>
 #include <mswsock.h>
 #include <ws2tcpip.h>

Modified: apr/apr/trunk/poll/unix/select.c
URL: http://svn.apache.org/viewcvs/apr/apr/trunk/poll/unix/select.c?rev=164182&r1=164181&r2=164182&view=diff
==============================================================================
--- apr/apr/trunk/poll/unix/select.c (original)
+++ apr/apr/trunk/poll/unix/select.c Fri Apr 22 00:25:23 2005
@@ -14,6 +14,11 @@
  * limitations under the License.
  */
 
+#ifdef WIN32
+/* POSIX defines 1024 for the FD_SETSIZE */
+#define FD_SETSIZE 1024
+#endif
+
 #include "apr.h"
 #include "apr_poll.h"
 #include "apr_time.h"



Mime
View raw message