[PATCH] D15086: builtins: Fix the sysroot's reference to si_int in int_types.h
Sumanth Gundapaneni via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 1 15:09:26 PST 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rL254472: builtins: Fix the sysroot's reference to si_int in int_types.h (authored by sgundapa).
Changed prior to commit:
http://reviews.llvm.org/D15086?vs=41416&id=41569#toc
Repository:
rL LLVM
http://reviews.llvm.org/D15086
Files:
compiler-rt/trunk/lib/builtins/int_types.h
Index: compiler-rt/trunk/lib/builtins/int_types.h
===================================================================
--- compiler-rt/trunk/lib/builtins/int_types.h
+++ compiler-rt/trunk/lib/builtins/int_types.h
@@ -20,6 +20,10 @@
#include "int_endianness.h"
+/* si_int is defined in Linux sysroot's asm-generic/siginfo.h */
+#ifdef si_int
+#undef si_int
+#endif
typedef int si_int;
typedef unsigned su_int;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15086.41569.patch
Type: text/x-patch
Size: 422 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151201/d3269e57/attachment.bin>
More information about the llvm-commits
mailing list