From 67fdec20726e48ba3a934cb25bb30d47ec4a4f29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20De=20La=20Pe=C3=B1a=20Smirnov?= Date: Wed, 29 Nov 2017 11:44:34 +0300 Subject: Initial commit, version 0.5.3 --- node_modules/uws/src/Backend.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 node_modules/uws/src/Backend.h (limited to 'node_modules/uws/src/Backend.h') diff --git a/node_modules/uws/src/Backend.h b/node_modules/uws/src/Backend.h new file mode 100644 index 0000000..4bfed95 --- /dev/null +++ b/node_modules/uws/src/Backend.h @@ -0,0 +1,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 -- cgit v1.2.3