16 lines
321 B
C
16 lines
321 B
C
#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
|