… | |
… | |
1673 | file. |
1673 | file. |
1674 | |
1674 | |
1675 | The usage in rxvt-unicode is simpler. It has a F<ev_cpp.h> header file |
1675 | The usage in rxvt-unicode is simpler. It has a F<ev_cpp.h> header file |
1676 | that everybody includes and which overrides some autoconf choices: |
1676 | that everybody includes and which overrides some autoconf choices: |
1677 | |
1677 | |
1678 | #define EV_USE_POLL 0 |
1678 | #define EV_USE_POLL 0 |
1679 | #define EV_MULTIPLICITY 0 |
1679 | #define EV_MULTIPLICITY 0 |
1680 | #define EV_PERIODICS 0 |
1680 | #define EV_PERIODICS 0 |
1681 | #define EV_CONFIG_H <config.h> |
1681 | #define EV_CONFIG_H <config.h> |
1682 | |
1682 | |
1683 | #include "ev++.h" |
1683 | #include "ev++.h" |
1684 | |
1684 | |
1685 | And a F<ev_cpp.C> implementation file that contains libev proper and is compiled: |
1685 | And a F<ev_cpp.C> implementation file that contains libev proper and is compiled: |
1686 | |
1686 | |
1687 | #include "rxvttoolkit.h" |
1687 | #include "ev_cpp.h" |
1688 | |
|
|
1689 | /* darwin has problems with its header files in C++, requiring this namespace juggling */ |
|
|
1690 | using namespace ev; |
|
|
1691 | |
|
|
1692 | #include "ev.c" |
1688 | #include "ev.c" |
1693 | |
|
|
1694 | |
1689 | |
1695 | =head1 AUTHOR |
1690 | =head1 AUTHOR |
1696 | |
1691 | |
1697 | Marc Lehmann <libev@schmorp.de>. |
1692 | Marc Lehmann <libev@schmorp.de>. |
1698 | |
1693 | |