From bdc7d079474f709e195c868021926b3c0c7d94a2 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 16 Nov 2007 10:37:28 +0000 Subject: *** empty log message *** --- README.embed | 9 ++++++--- ev.c | 5 ++--- ev_port.c | 2 -- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.embed b/README.embed index 06c4c6c..a7e03ca 100644 --- a/README.embed +++ b/README.embed @@ -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 diff --git a/ev.c b/ev.c index 42652b7..b47e20c 100644 --- a/ev.c +++ b/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 diff --git a/ev_port.c b/ev_port.c index fb25dff..eaad546 100644 --- a/ev_port.c +++ b/ev_port.c @@ -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 -- cgit v1.2.3