xref: /aosp_15_r20/external/libevent/include/event2/event-config.h (revision 663afb9b963571284e0f0a60f257164ab54f64bf)
1 /* We include this to get __BIONIC__,
2  * but this means _BSD_SOURCE and/or _GNU_SOURCE
3  * must be set in the .bp file. */
4 #include <sys/cdefs.h>
5 
6 #if defined(__BIONIC__)
7 #  include <event2/event-config-bionic.h>
8 #else
9 #  if defined(__linux__)
10 #    include <event2/event-config-linux.h>
11 #  elif defined(__APPLE__)
12 #    include <event2/event-config-darwin.h>
13 #  else
14 #    error No event-config.h suitable for this distribution.
15 #  endif
16 #endif  /* ifdef __BIONIC__ */
17