[compiler-rt] r190160 - [sanitizer] Fix Android build.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Fri Sep 6 07:58:49 PDT 2013
Author: eugenis
Date: Fri Sep 6 09:58:49 2013
New Revision: 190160
URL: http://llvm.org/viewvc/llvm-project?rev=190160&view=rev
Log:
[sanitizer] Fix Android build.
Android actually has "__unused" macro defined in <cdefs.h>.
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h?rev=190160&r1=190159&r2=190160&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h Fri Sep 6 09:58:49 2013
@@ -82,7 +82,7 @@ namespace __sanitizer {
uptr *oldlenp;
void *newval;
uptr newlen;
- unsigned long __unused[4];
+ unsigned long ___unused[4];
};
#endif // SANITIZER_LINUX
More information about the llvm-commits
mailing list