[PATCH] D55296: [Support] Fix GNU/kFreeBSD build

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 4 14:07:28 PST 2018


efriedma added inline comments.


================
Comment at: lib/Support/Unix/Path.inc:59
 #if !defined(__APPLE__) && !defined(__OpenBSD__) && !defined(__FreeBSD__) &&   \
-    !defined(__linux__)
+    !defined(__linux__) && !defined(__FreeBSD_kernel__)
 #include <sys/statvfs.h>
----------------
Does this make the `!defined(__FreeBSD__)` check redundant?


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55296/new/

https://reviews.llvm.org/D55296





More information about the llvm-commits mailing list