summaryrefslogtreecommitdiff
path: root/ev.3
diff options
context:
space:
mode:
Diffstat (limited to 'ev.3')
-rw-r--r--ev.322
1 files changed, 7 insertions, 15 deletions
diff --git a/ev.3 b/ev.3
index 5ff2d65..0d526fc 100644
--- a/ev.3
+++ b/ev.3
@@ -1799,29 +1799,21 @@ The usage in rxvt-unicode is simpler. It has a \fIev_cpp.h\fR header file
that everybody includes and which overrides some autoconf choices:
.Sp
.Vb 4
-\& #define EV_USE_POLL 0
-\& #define EV_MULTIPLICITY 0
-\& #define EV_PERIODICS 0
-\& #define EV_CONFIG_H <config.h>
+\& #define EV_USE_POLL 0
+\& #define EV_MULTIPLICITY 0
+\& #define EV_PERIODICS 0
+\& #define EV_CONFIG_H <config.h>
.Ve
.Sp
.Vb 1
-\& #include "ev++.h"
+\& #include "ev++.h"
.Ve
.Sp
And a \fIev_cpp.C\fR implementation file that contains libev proper and is compiled:
.Sp
-.Vb 1
-\& #include "rxvttoolkit.h"
-.Ve
-.Sp
.Vb 2
-\& /* darwin has problems with its header files in C++, requiring this namespace juggling */
-\& using namespace ev;
-.Ve
-.Sp
-.Vb 1
-\& #include "ev.c"
+\& #include "ev_cpp.h"
+\& #include "ev.c"
.Ve
.SH "AUTHOR"
.IX Header "AUTHOR"