--- gvpe/src/iom.h 2005/04/26 00:55:56 1.29 +++ gvpe/src/iom.h 2006/01/11 21:27:05 1.30 @@ -126,7 +126,7 @@ }; #if IOM_IO -enum { EVENT_READ = 1, EVENT_WRITE = 2 }; +enum { EVENT_UNDEF = -1, EVENT_NONE = 0, EVENT_READ = 1, EVENT_WRITE = 2 }; struct io_watcher : watcher, callback2 { int fd;