Don't try to use a non-existent header on FreeBSD/mips.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 25 Oct 2017 14:53:16 +0000 (14:53 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 25 Oct 2017 14:53:16 +0000 (14:53 +0000)
Reviewers: dim

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

llvm-svn: 316581

llvm/lib/Support/Unix/Memory.inc

index dd39ef9..cf812d0 100644 (file)
@@ -27,7 +27,7 @@
 #if defined(__mips__)
 #  if defined(__OpenBSD__)
 #    include <mips64/sysarch.h>
-#  else
+#  elif !defined(__FreeBSD__)
 #    include <sys/cachectl.h>
 #  endif
 #endif