diff options
Diffstat (limited to 'lang/libLLVM/patches/patch-include_llvm_Support_Host.h')
-rw-r--r-- | lang/libLLVM/patches/patch-include_llvm_Support_Host.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/lang/libLLVM/patches/patch-include_llvm_Support_Host.h b/lang/libLLVM/patches/patch-include_llvm_Support_Host.h deleted file mode 100644 index 198b4b65261..00000000000 --- a/lang/libLLVM/patches/patch-include_llvm_Support_Host.h +++ /dev/null @@ -1,26 +0,0 @@ -$NetBSD: patch-include_llvm_Support_Host.h,v 1.5 2017/12/08 02:14:44 gdt Exp $ - -Fix lack of machine/endian.h on solaris -http://permalink.gmane.org/gmane.comp.compilers.llvm.devel/63225 - ---- include/llvm/Support/Host.h.orig 2016-10-13 17:43:20.000000000 +0000 -+++ include/llvm/Support/Host.h -@@ -20,6 +20,18 @@ - #include <endian.h> - #elif defined(_AIX) - #include <sys/machine.h> -+#elif defined(__sun) & defined(__SVR4) -+# ifndef BYTE_ORDER -+# define LITTLE_ENDIAN 1234 -+# define BIG_ENDIAN 4321 -+# include <sys/isa_defs.h> -+# ifdef _LITTLE_ENDIAN -+# define BYTE_ORDER LITTLE_ENDIAN -+# endif -+# ifdef _BIG_ENDIAN -+# define BYTE_ORDER BIG_ENDIAN -+# endif -+# endif /* BYTE_ORDER */ - #else - #if !defined(BYTE_ORDER) && !defined(LLVM_ON_WIN32) - #include <machine/endian.h> |