summaryrefslogtreecommitdiff
path: root/lib/common/EventWatchFilesystemObject.h
diff options
context:
space:
mode:
authorMartin Ebourne <martin@ebourne.me.uk>2005-12-07 16:34:47 +0000
committerMartin Ebourne <martin@ebourne.me.uk>2005-12-07 16:34:47 +0000
commit81d8eda2419e7a23088a98cdfc52a305c9ceac0d (patch)
tree27143d7b539a8bf2e23cc18e2f598804fa8d784d /lib/common/EventWatchFilesystemObject.h
parent065dc6f8cd168e3ee6e71ddfb06f42a92abfabbd (diff)
Merged martin/autoconf at r35 to trunk
Diffstat (limited to 'lib/common/EventWatchFilesystemObject.h')
-rw-r--r--lib/common/EventWatchFilesystemObject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common/EventWatchFilesystemObject.h b/lib/common/EventWatchFilesystemObject.h
index d8a7245b..f9175a49 100644
--- a/lib/common/EventWatchFilesystemObject.h
+++ b/lib/common/EventWatchFilesystemObject.h
@@ -10,7 +10,7 @@
#ifndef EVENTWATCHFILESYSTEMOBJECT__H
#define EVENTWATCHFILESYSTEMOBJECT__H
-#ifndef PLATFORM_KQUEUE_NOT_SUPPORTED
+#ifdef HAVE_KQUEUE
#include <sys/event.h>
#endif
@@ -34,7 +34,7 @@ private:
EventWatchFilesystemObject &operator=(const EventWatchFilesystemObject &);
public:
-#ifndef PLATFORM_KQUEUE_NOT_SUPPORTED
+#ifdef HAVE_KQUEUE
void FillInKEvent(struct kevent &rEvent, int Flags = 0) const;
#else
void FillInPoll(int &fd, short &events, int Flags = 0) const;