[DirectoryWatcher][linux] Fix for older kernels
authorJan Korous <jkorous@apple.com>
Mon, 15 Jul 2019 23:14:00 +0000 (23:14 +0000)
committerJan Korous <jkorous@apple.com>
Mon, 15 Jul 2019 23:14:00 +0000 (23:14 +0000)
commit60a0d49e77cf6583b749ad6189751cd5d31bf3ee
tree76448cafa90da79a0f9cb647c2833274bcce29e0
parent51193871dafd99e79d7d19f62cffbdcdda238530
[DirectoryWatcher][linux] Fix for older kernels

IN_EXCL_UNLINK exists since Linux 2.6.36

Differential Revision: https://reviews.llvm.org/D64764

llvm-svn: 366152
clang/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp