[PATCH] D38807: Don't try to use non-existent header on FreeBSD/mips.

John Baldwin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 11 10:00:00 PDT 2017


bsdjhb created this revision.
Herald added subscribers: krytarowski, arichardson, sdardis.

https://reviews.llvm.org/D38807

Files:
  lib/Support/Unix/Memory.inc


Index: lib/Support/Unix/Memory.inc
===================================================================
--- lib/Support/Unix/Memory.inc
+++ lib/Support/Unix/Memory.inc
@@ -27,7 +27,7 @@
 #if defined(__mips__)
 #  if defined(__OpenBSD__)
 #    include <mips64/sysarch.h>
-#  else
+#  elif !defined(__FreeBSD__)
 #    include <sys/cachectl.h>
 #  endif
 #endif


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38807.118634.patch
Type: text/x-patch
Size: 358 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171011/926b5785/attachment.bin>


More information about the llvm-commits mailing list