-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathev-config.h.in
49 lines (41 loc) · 1.28 KB
/
ev-config.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
* This file is part of LEM, a Lua Event Machine.
* Copyright 2011-2012 Emil Renner Berthing
*
* LEM is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of
* the License, or (at your option) any later version.
*
* LEM is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with LEM. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _LEM_EV_CONFIG_H
#define _LEM_EV_CONFIG_H
#define EV_STANDALONE 1
#undef EV_USE_NANOSLEEP
#undef EV_USE_EVENTFD
#undef EV_USE_SELECT
#undef EV_USE_POLL
#undef EV_USE_EPOLL
#undef EV_USE_KQUEUE
#define EV_USE_PORT 0
#define EV_MULTIPLICITY 1
#define EV_PERIODIC_ENABLE 0
#define EV_IDLE_ENABLE 1
#define EV_EMBED_ENABLE 0
#define EV_STAT_ENABLE 0
#define EV_PREPARE_ENABLE 0
#define EV_CHECK_ENABLE 0
#define EV_FORK_ENABLE 0
#define EV_SIGNAL_ENABLE 1
#define EV_ASYNC_ENABLE 1
#define EV_CHILD_ENABLE 1
#define EV_MINPRI -1
#define EV_MAXPRI 1
#endif