summaryrefslogtreecommitdiff
path: root/ev.h
diff options
context:
space:
mode:
authorroot <root>2010-03-16 00:43:22 +0000
committerroot <root>2010-03-16 00:43:22 +0000
commit7e19fcf1be7b0b288f7a12fb3d68743a6bed3e43 (patch)
tree44745929714104897cda657f0dc8ba3da3f2220a /ev.h
parentf66f93858a4f29964c38f79765c17dea8fc394ca (diff)
*** empty log message ***
Diffstat (limited to 'ev.h')
-rw-r--r--ev.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/ev.h b/ev.h
index 85bf9bd..f9f31b5 100644
--- a/ev.h
+++ b/ev.h
@@ -52,21 +52,22 @@ extern "C" {
#define EV_FEATURE_CODE ((EV_FEATURES) & 1)
#define EV_FEATURE_DATA ((EV_FEATURES) & 2)
-#define EV_FEATURE_API ((EV_FEATURES) & 4)
-#define EV_FEATURE_WATCHERS ((EV_FEATURES) & 8)
-#define EV_FEATURE_BACKENDS ((EV_FEATURES) & 16)
-#define EV_FEATURE_OS ((EV_FEATURES) & 32)
+#define EV_FEATURE_CONFIG ((EV_FEATURES) & 4)
+#define EV_FEATURE_API ((EV_FEATURES) & 8)
+#define EV_FEATURE_WATCHERS ((EV_FEATURES) & 16)
+#define EV_FEATURE_BACKENDS ((EV_FEATURES) & 32)
+#define EV_FEATURE_OS ((EV_FEATURES) & 64)
/* these priorities are inclusive, higher priorities will be called earlier */
#ifndef EV_MINPRI
-# define EV_MINPRI (EV_FEATURE_API ? -2 : 0)
+# define EV_MINPRI (EV_FEATURE_CONFIG ? -2 : 0)
#endif
#ifndef EV_MAXPRI
-# define EV_MAXPRI (EV_FEATURE_API ? +2 : 0)
+# define EV_MAXPRI (EV_FEATURE_CONFIG ? +2 : 0)
#endif
#ifndef EV_MULTIPLICITY
-# define EV_MULTIPLICITY EV_FEATURE_API
+# define EV_MULTIPLICITY EV_FEATURE_CONFIG
#endif
#ifndef EV_PERIODIC_ENABLE