mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 02:42:55 +00:00
correct conditions for kqueue support in qfilesystemwatcher source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
cf25a8818f
commit
c959dc32f3
1 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@
|
|||
|
||||
#if defined(Q_OS_LINUX)
|
||||
# include "qfilesystemwatcher_inotify_p.h"
|
||||
#elif defined(Q_OS_FREEBSD)
|
||||
#elif defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD)
|
||||
# include "qfilesystemwatcher_kqueue_p.h"
|
||||
#endif
|
||||
|
||||
|
@ -215,7 +215,7 @@ void QFileSystemWatcherPrivate::initNativeEngine()
|
|||
|
||||
#if defined(Q_OS_LINUX)
|
||||
watcher = QInotifyFileSystemWatcherEngine::create();
|
||||
#elif defined(Q_OS_FREEBSD)
|
||||
#elif defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD)
|
||||
watcher = QKqueueFileSystemWatcherEngine::create();
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue