Skip to content
Browse files

remove FD_SETSIZE redefinition /cc eventmachine/eventmachine#333

  • Loading branch information...
1 parent ba83488 commit 916344674b47ef9382706b3d07e13f24c8c492a5 @tmm1 tmm1 committed Jun 18, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 ext/project.h
3 ext/project.h
@@ -82,7 +82,8 @@ typedef int SOCKET;
#ifdef OS_WIN32
// 21Sep09: windows limits select() to 64 sockets by default, we increase it to 1024 here (before including winsock2.h)
-#define FD_SETSIZE 1024
+// 18Jun12: fd_setsize must be changed in the ruby binary (not in this extension). redefining it also causes segvs, see eventmachine/eventmachine#333
+//#define FD_SETSIZE 1024
#include <windows.h>

0 comments on commit 9163446

Please sign in to comment.
Something went wrong with that request. Please try again.