#define ULOOP_WRITE (1 << 1)
#define ULOOP_EDGE_TRIGGER (1 << 2)
#define ULOOP_BLOCKING (1 << 3)
+#ifdef USE_KQUEUE
+#define ULOOP_EDGE_DEFER (1 << 4)
+#endif
struct uloop_fd
{
bool error;
bool registered;
#ifdef USE_KQUEUE
- uint8_t kqflags;
+ bool flags;
#endif
};