/usr/lib/ocaml/lwt/lwt_config.h is in liblwt-ocaml-dev 2.7.1-4build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #ifndef __LWT_CONFIG_H
#define __LWT_CONFIG_H
#define HAVE_LIBEV
#define HAVE_PTHREAD
#define HAVE_EVENTFD
#define HAVE_FD_PASSING
#define HAVE_GETCPU
#define HAVE_AFFINITY
#define HAVE_GET_CREDENTIALS_LINUX
//#define HAVE_GET_CREDENTIALS_NETBSD
//#define HAVE_GET_CREDENTIALS_OPENBSD
//#define HAVE_GET_CREDENTIALS_FREEBSD
//#define HAVE_GETPEEREID
#define HAVE_FDATASYNC
//#define HAVE_NETDB_REENTRANT
#define HAVE_REENTRANT_HOSTENT
#define NANOSEC(buf, field) buf->st_##field##tim.tv_nsec
//#define HAVE_BSD_MINCORE
#if defined(HAVE_GET_CREDENTIALS_LINUX) || defined(HAVE_GET_CREDENTIALS_NETBSD) || defined(HAVE_GET_CREDENTIALS_OPENBSD) || defined(HAVE_GET_CREDENTIALS_FREEBSD) || defined(HAVE_GETPEEREID)
# define HAVE_GET_CREDENTIALS
#endif
//#define LWT_ON_WINDOWS
#endif
|