File: libevent-compat.h

package info (click to toggle)
redsocks 0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 592 kB
  • sloc: ansic: 6,196; python: 505; sh: 185; makefile: 96
file content (11 lines) | stat: -rw-r--r-- 428 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#ifndef UUID_FC148CFA_5ECC_488E_8A62_CD39406C9F1E
#define UUID_FC148CFA_5ECC_488E_8A62_CD39406C9F1E

/* evutil_socket_t is macros in libevent-2.0, not typedef, libevent-1.4 is
 * still supported because of Ubuntu 10.04 LTS */
#ifndef evutil_socket_t
#   warning Using hardcoded value for evutil_socket_t as libevent headers do not define it.
#   define evutil_socket_t int
#endif

#endif // FC148CFA_5ECC_488E_8A62_CD39406C9F1E