17 lines
499 B
C++
17 lines
499 B
C++
$NetBSD: patch-include_llvm_Analysis_ConstantFolding.h,v 1.1 2018/12/15 23:41:45 jperkin Exp $
|
|
|
|
Fix SunOS CS conflict not handled by include/llvm-c/DataTypes.h
|
|
|
|
--- include/llvm/Analysis/ConstantFolding.h.orig 2018-05-01 15:54:18.000000000 +0000
|
|
+++ include/llvm/Analysis/ConstantFolding.h
|
|
@@ -20,6 +20,10 @@
|
|
#ifndef LLVM_ANALYSIS_CONSTANTFOLDING_H
|
|
#define LLVM_ANALYSIS_CONSTANTFOLDING_H
|
|
|
|
+#ifdef __sun
|
|
+#undef CS
|
|
+#endif
|
|
+
|
|
namespace llvm {
|
|
class APInt;
|
|
template <typename T> class ArrayRef;
|