summaryrefslogtreecommitdiff
path: root/kqueue.c
diff options
context:
space:
mode:
authorNiels Provos <provos@gmail.com>2004-07-30 05:00:44 +0000
committerNiels Provos <provos@gmail.com>2004-07-30 05:00:44 +0000
commitd829ccea3d25ce1f7ec4514d1735c26182b3beff (patch)
tree320f4d9b8ca30b920fe116b584ffd67dd8f4b82b /kqueue.c
parent06aaa92fe298e376d432947c6eef9ddabfd5faec (diff)
downloadlibevent-d829ccea3d25ce1f7ec4514d1735c26182b3beff.tar.gz
fix a warning on freebsd;
svn:r114
Diffstat (limited to 'kqueue.c')
-rw-r--r--kqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kqueue.c b/kqueue.c
index 49bbced4..a17e69bb 100644
--- a/kqueue.c
+++ b/kqueue.c
@@ -56,7 +56,7 @@
#define log_error warn
#endif
-#if defined(HAVE_INTTYPES_H) && !defined(__OpenBSD__)
+#if defined(HAVE_INTTYPES_H) && !defined(__OpenBSD__) && !defined(__FreeBSD__)
#define INTPTR(x) (intptr_t)x
#else
#define INTPTR(x) x