aboutsummaryrefslogtreecommitdiffhomepage
path: root/node_modules/uws/src/Backend.h
blob: 4bfed9534f9d9c7163a2af8f6f733c6581991a22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef BACKEND_H
#define BACKEND_H

// Default to Epoll if nothing specified and on Linux
// Default to Libuv if nothing specified and not on Linux
#ifdef USE_ASIO
#include "Asio.h"
#elif !defined(__linux__) || defined(USE_LIBUV)
#include "Libuv.h"
#else
#define USE_EPOLL
#include "Epoll.h"
#endif

#endif // BACKEND_H