mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-15 07:15:03 -04:00
extern "C" guard for header file.
assert activeq in event.c; from Phil Oelson. svn:r313
This commit is contained in:
parent
b04043ae51
commit
4922f342fc
8
evdns.h
8
evdns.h
@ -237,6 +237,10 @@
|
||||
#ifndef EVENTDNS_H
|
||||
#define EVENTDNS_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Error codes 0-5 are as described in RFC 1035. */
|
||||
#define DNS_ERR_NONE 0
|
||||
/* The name server was unable to interpret the query */
|
||||
@ -303,4 +307,8 @@ void evdns_set_log_fn(evdns_debug_log_fn_type fn);
|
||||
|
||||
#define DNS_NO_SEARCH 1
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // !EVENTDNS_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user