diff options
Diffstat (limited to 'lib/common/EventWatchFilesystemObject.h')
-rw-r--r-- | lib/common/EventWatchFilesystemObject.h | 4 |
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; |