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

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 25 07:53:41 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL316581: Don't try to use a non-existent header on FreeBSD/mips. (authored by jhb).

Repository:
  rL LLVM

https://reviews.llvm.org/D38807

Files:
  llvm/trunk/lib/Support/Unix/Memory.inc


Index: llvm/trunk/lib/Support/Unix/Memory.inc
===================================================================
--- llvm/trunk/lib/Support/Unix/Memory.inc
+++ llvm/trunk/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.120255.patch
Type: text/x-patch
Size: 391 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171025/55a00d17/attachment.bin>


More information about the llvm-commits mailing list