view third_party/wrk/src/config.h @ 218:921ca3086879 hg-web

[hg-web] Add architecture wiki tree
author MrJuneJune <me@mrjunejune.com>
date Sun, 02 Aug 2026 08:34:28 -0700
parents 94705b5986b3
children
line wrap: on
line source

#ifndef CONFIG_H
#define CONFIG_H

#if defined(__FreeBSD__) || defined(__APPLE__)
#define HAVE_KQUEUE
#elif defined(__linux__)
#define HAVE_EPOLL
#elif defined (__sun)
#define HAVE_EVPORT
#define _XPG6
#define __EXTENSIONS__
#include <stropts.h>
#include <sys/filio.h>
#include <sys/time.h>
#endif

#endif /* CONFIG_H */