Mercurial
diff third_party/wrk/src/config.h @ 178:94705b5986b3
[ThirdParty] Added WRK and luajit for load testing.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Thu, 22 Jan 2026 20:10:30 -0800 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/third_party/wrk/src/config.h Thu Jan 22 20:10:30 2026 -0800 @@ -0,0 +1,17 @@ +#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 */