]> granicus.if.org Git - llvm/commitdiff
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316581 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/Unix/Memory.inc

index dd39ef935bf92611389380b92f71c65a15c04287..cf812d008d3be37e48ac47ac0f98a302e3b07a0b 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