diff options
Diffstat (limited to 'www/iridium/files/patch-base_files_file__path__watcher.cc')
-rw-r--r-- | www/iridium/files/patch-base_files_file__path__watcher.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/www/iridium/files/patch-base_files_file__path__watcher.cc b/www/iridium/files/patch-base_files_file__path__watcher.cc new file mode 100644 index 000000000000..87abcb7fbda1 --- /dev/null +++ b/www/iridium/files/patch-base_files_file__path__watcher.cc @@ -0,0 +1,15 @@ +--- base/files/file_path_watcher.cc.orig 2020-03-16 18:39:41 UTC ++++ base/files/file_path_watcher.cc +@@ -20,10 +20,10 @@ FilePathWatcher::~FilePathWatcher() { + // static + bool FilePathWatcher::RecursiveWatchAvailable() { + #if (defined(OS_MACOSX) && !defined(OS_IOS)) || defined(OS_WIN) || \ +- defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_AIX) ++ (defined(OS_LINUX) && !defined(OS_BSD)) || defined(OS_ANDROID) || defined(OS_AIX) + return true; + #else +- // FSEvents isn't available on iOS. ++ // FSEvents isn't available on iOS and the kqueue watcher. + return false; + #endif + } |