… | |
… | |
119 | (winsocket only allows 64 sockets). The FD_SETSIZE macro, set |
119 | (winsocket only allows 64 sockets). The FD_SETSIZE macro, set |
120 | before compilation, might influence the size of the fd_set used. |
120 | before compilation, might influence the size of the fd_set used. |
121 | |
121 | |
122 | EV_SELECT_IS_WINSOCKET |
122 | EV_SELECT_IS_WINSOCKET |
123 | |
123 | |
124 | When defined to 1, the select backend will assume that select |
124 | When defined to 1, the select backend will assume that |
125 | doesn't understand file descriptors but wants osf handles on |
125 | select/socket/connect etc. don't understand file descriptors but |
126 | win32 (this is the case when the select to be used is the winsock |
126 | wants osf handles on win32 (this is the case when the select to |
127 | select). This means that it will call _get_osfhandle on the fd to |
127 | be used is the winsock select). This means that it will call |
128 | convert it to an OS handle. Should not be defined on non-win32 |
128 | _get_osfhandle on the fd to convert it to an OS handle. Otherwise, |
129 | platforms. |
129 | it is assumed that all these functions actually work on fds, even |
|
|
130 | on win32. Should not be defined on non-win32 platforms. |
130 | |
131 | |
131 | EV_USE_POLL |
132 | EV_USE_POLL |
132 | |
133 | |
133 | If defined to be "1", libev will compile in support for the poll(2) |
134 | If defined to be "1", libev will compile in support for the poll(2) |
134 | backend. Otherwise it will be enabled on non-win32 platforms. It |
135 | backend. Otherwise it will be enabled on non-win32 platforms. It |
… | |
… | |
166 | The name of the ev.h header file used to include it. The default |
167 | The name of the ev.h header file used to include it. The default |
167 | if undefined is <ev.h> in event.h and "ev.h" in ev.c. This can |
168 | if undefined is <ev.h> in event.h and "ev.h" in ev.c. This can |
168 | be used to virtually rename the ev.h header file in case of |
169 | be used to virtually rename the ev.h header file in case of |
169 | conflicts. |
170 | conflicts. |
170 | |
171 | |
|
|
172 | EV_CONFIG_H |
|
|
173 | |
|
|
174 | If EV_STANDALONE isn't 1, this variable can be used to override |
|
|
175 | ev.c's idea of where to find the "config.h" file. |
|
|
176 | |
171 | EV_EVENT_H |
177 | EV_EVENT_H |
172 | |
178 | |
173 | Similarly to EV_H, this macro cna be used to override event.c's idea |
179 | Similarly to EV_H, this macro can be used to override event.c's idea |
174 | of how the event.h header can be found. |
180 | of how the event.h header can be found. |
175 | |
181 | |
176 | EV_PROTOTYPES |
182 | EV_PROTOTYPES |
177 | |
183 | |
178 | If defined to be "0", then "ev.h" will not define any function |
184 | If defined to be "0", then "ev.h" will not define any function |