summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2007-11-16 10:37:28 +0000
committerroot <root>2007-11-16 10:37:28 +0000
commitbdc7d079474f709e195c868021926b3c0c7d94a2 (patch)
treebc91c87c91c08d612016d8b9e43b593e0bfac001
parent1bb2b69718177b8e0629011eefd932b9ef9ee219 (diff)
*** empty log message ***
-rw-r--r--README.embed9
-rw-r--r--ev.c5
-rw-r--r--ev_port.c2
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