[PATCH] D54363: Fix DragonFlyBSD build

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 9 16:16:39 PST 2018


krytarowski added inline comments.


================
Comment at: lib/Support/Unix/Path.inc:41
 #include <sys/attr.h>
+#elif __DragonFly__
+#include <sys/mount.h>
----------------
`#elif defined(__DragonFly__)`


================
Comment at: lib/Support/Unix/Path.inc:88
 
-#if defined(__NetBSD__) || defined(__GNU__)
+#if defined(__NetBSD__) || defined(__GNU__) || defined(__DragonFly__)
 #define STATVFS_F_FLAG(vfs) (vfs).f_flag
----------------
I would sort OSes.


Repository:
  rL LLVM

https://reviews.llvm.org/D54363





More information about the llvm-commits mailing list