[llvm] r316581 - Don't try to use a non-existent header on FreeBSD/mips.

John Baldwin via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 25 07:53:16 PDT 2017


Author: jhb
Date: Wed Oct 25 07:53:16 2017
New Revision: 316581

URL: http://llvm.org/viewvc/llvm-project?rev=316581&view=rev
Log:
Don't try to use a non-existent header on FreeBSD/mips.

Reviewers: dim

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

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

Modified: llvm/trunk/lib/Support/Unix/Memory.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Unix/Memory.inc?rev=316581&r1=316580&r2=316581&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Unix/Memory.inc (original)
+++ llvm/trunk/lib/Support/Unix/Memory.inc Wed Oct 25 07:53:16 2017
@@ -27,7 +27,7 @@
 #if defined(__mips__)
 #  if defined(__OpenBSD__)
 #    include <mips64/sysarch.h>
-#  else
+#  elif !defined(__FreeBSD__)
 #    include <sys/cachectl.h>
 #  endif
 #endif




More information about the llvm-commits mailing list