projects
/
TransparentIRC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modified IOMultiplexer (added epoll & kevent support)
[TransparentIRC.git]
/
src
/
overall.h
diff --git
a/src/overall.h
b/src/overall.h
index edf7157ea6dc1550cb88504e125400db166c8a9a..8c2d5276f34b41859d4cec6a75325342aaa4c150 100644
(file)
--- a/
src/overall.h
+++ b/
src/overall.h
@@
-46,6
+46,7
@@
#include <netdb.h>
#include <sys/wait.h>
#include <errno.h>
#include <netdb.h>
#include <sys/wait.h>
#include <errno.h>
+#include <fcntl.h>
#endif
#include <unistd.h>
#include <getopt.h>
#endif
#include <unistd.h>
#include <getopt.h>
@@
-84,7
+85,4
@@
#define COMPILER "Unknown"
#endif
#define COMPILER "Unknown"
#endif
-#define timeval_is_bigger(x,y) ((x->tv_sec > y->tv_sec) || (x->tv_sec == y->tv_sec && x->tv_usec > y->tv_usec))
-#define timeval_is_smaler(x,y) ((x->tv_sec < y->tv_sec) || (x->tv_sec == y->tv_sec && x->tv_usec < y->tv_usec))
-
#endif
#endif