summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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