ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.3
(Generate patch)

Comparing libev/ev.3 (file contents):
Revision 1.14 by root, Sat Nov 24 10:10:26 2007 UTC vs.
Revision 1.15 by root, Sat Nov 24 10:15:16 2007 UTC

1797.Sp 1797.Sp
1798The usage in rxvt-unicode is simpler. It has a \fIev_cpp.h\fR header file 1798The usage in rxvt-unicode is simpler. It has a \fIev_cpp.h\fR header file
1799that everybody includes and which overrides some autoconf choices: 1799that everybody includes and which overrides some autoconf choices:
1800.Sp 1800.Sp
1801.Vb 4 1801.Vb 4
1802\& #define EV_USE_POLL 0 1802\& #define EV_USE_POLL 0
1803\& #define EV_MULTIPLICITY 0 1803\& #define EV_MULTIPLICITY 0
1804\& #define EV_PERIODICS 0 1804\& #define EV_PERIODICS 0
1805\& #define EV_CONFIG_H <config.h> 1805\& #define EV_CONFIG_H <config.h>
1806.Ve 1806.Ve
1807.Sp 1807.Sp
1808.Vb 1 1808.Vb 1
1809\& #include "ev++.h" 1809\& #include "ev++.h"
1810.Ve 1810.Ve
1811.Sp 1811.Sp
1812And a \fIev_cpp.C\fR implementation file that contains libev proper and is compiled: 1812And a \fIev_cpp.C\fR implementation file that contains libev proper and is compiled:
1813.Sp 1813.Sp
1814.Vb 1
1815\& #include "rxvttoolkit.h"
1816.Ve
1817.Sp
1818.Vb 2 1814.Vb 2
1819\& /* darwin has problems with its header files in C++, requiring this namespace juggling */ 1815\& #include "ev_cpp.h"
1820\& using namespace ev;
1821.Ve
1822.Sp
1823.Vb 1
1824\& #include "ev.c" 1816\& #include "ev.c"
1825.Ve 1817.Ve
1826.SH "AUTHOR" 1818.SH "AUTHOR"
1827.IX Header "AUTHOR" 1819.IX Header "AUTHOR"
1828Marc Lehmann <libev@schmorp.de>. 1820Marc Lehmann <libev@schmorp.de>.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines