mirror of /home/gitosis/repositories/libev.git
*** empty log message ***
This commit is contained in:
parent
d2a43c41b3
commit
0670f1f4f9
|
@ -42,6 +42,7 @@ FILESETS
|
|||
ev_poll.c only when poll backend is enabled (disabled by default)
|
||||
ev_epoll.c only when the epoll backend is enabled (disabled by default)
|
||||
ev_kqueue.c only when the kqueue backend is enabled (disabled by default)
|
||||
ev_port.c only when the solaris port backend is enabled (disabled by default)
|
||||
|
||||
"ev.c" includes the backend files directly when enabled.
|
||||
|
||||
|
@ -85,10 +86,12 @@ PREPROCESSOR SYMBOLS
|
|||
|
||||
EV_USE_MONOTONIC
|
||||
|
||||
If undefined or defined to be "1", libev will try to detect the
|
||||
availability of the monotonic clock option at both compiletime and
|
||||
If defined to be "1", libev will try to detect the availability
|
||||
of the monotonic clock option at both compiletime and
|
||||
runtime. Otherwise no use of the monotonic clock option will be
|
||||
attempted.
|
||||
attempted. If you enable this, you usually have to link against
|
||||
librt or something similar. Enabling it when the functionality
|
||||
isn't available is safe, though.
|
||||
|
||||
EV_USE_REALTIME
|
||||
|
||||
|
|
5
ev.c
5
ev.c
|
@ -96,16 +96,15 @@ extern "C" {
|
|||
/**/
|
||||
|
||||
#ifndef EV_USE_MONOTONIC
|
||||
# define EV_USE_MONOTONIC 1
|
||||
# define EV_USE_MONOTONIC 0
|
||||
#endif
|
||||
|
||||
#ifndef EV_USE_REALTIME
|
||||
# define EV_USE_REALTIME 1
|
||||
# define EV_USE_REALTIME 0
|
||||
#endif
|
||||
|
||||
#ifndef EV_USE_SELECT
|
||||
# define EV_USE_SELECT 1
|
||||
# define EV_SELECT_USE_FD_SET 1
|
||||
#endif
|
||||
|
||||
#ifndef EV_USE_POLL
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
|
|
Loading…
Reference in New Issue