/*
+ * libev select fd activity backend
+ *
* Copyright (c) 2007 Marc Alexander Lehmann <libev@schmorp.de>
* All rights reserved.
*
#include <unistd.h>
/* for unix systems */
-#include <sys/select.h>
+#ifndef WIN32
+# include <sys/select.h>
+#endif
#include <string.h>
#include <inttypes.h>
else if (res < 0)
{
if (errno == EBADF)
- fd_recheck ();
+ fd_ebadf ();
+ else if (errno == ENOMEM)
+ fd_enomem ();
}
}