Remove fix for select(). select() is not used anymore.

This commit is contained in:
Pavel Platto 2014-06-14 09:35:18 +03:00
parent f42a4be834
commit 8b72ae7c78

View File

@ -16,15 +16,6 @@
* changed beyond recognition. * changed beyond recognition.
*/ */
/*
* Some systems have a prototype for select() that has (int *) instead of
* (fd_set *), which is wrong. This define removes that prototype. We define
* our own prototype below.
* Don't use it for the Mac, it causes a warning for precompiled headers.
* TODO: use a configure check for precompiled headers?
*/
# define select select_declared_wrong
#include <errno.h> #include <errno.h>
#include <inttypes.h> #include <inttypes.h>
#include <stdbool.h> #include <stdbool.h>