This will automatically include ev.h, too, and should be done in a
single C source file only to provide the function implementations. To
- use it, do the same for ev.h in all users:
+ use it, do the same for ev.h in all files wishing to use this API
+ (best done by writing a wrapper around ev.h that you can include
+ instead and where you can put other configuration options):
#define EV_STANDALONE 1
#include "ev.h"
-/* $Id: evdns.c,v 1.20 2007-11-08 16:58:00 root Exp $ */
+/* $Id: evdns.c,v 1.21 2007-11-08 18:38:52 root Exp $ */
/* The original version of this module was written by Adam Langley; for
* a history of modifications, check out the subversion logs.
s/\bepoll_sub.c\b//g;
s/\bevent-internal.h\b//g;
s/\bevsignal.h\b//g;
+ s/-Wall//;
s/^(EXTRA_DIST\s*=\s*)/$1 ev.h ev_vars.h ev_wrap.h event_compat.h ev_epoll.c ev_select.c ev_poll.c ev_kqueue.c ev_win32.c /;
s/^(include_HEADERS\s*=\s*)/$1 ev.h event_compat.h /;
s/^(libevent_la_SOURCES\s*=\s*)/$1 ev.c /;