From 6bd82ce870833d5c31dec82a29c0bbe07f9549f1 Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Thu, 23 Jul 2015 22:37:39 +0000 Subject: [PATCH] [sanitizer] Fix double definition of a function. llvm-svn: 243055 --- compiler-rt/lib/sanitizer_common/sanitizer_common_nolibc.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_common_nolibc.cc b/compiler-rt/lib/sanitizer_common/sanitizer_common_nolibc.cc index 4aa1344..7d87b59 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_common_nolibc.cc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_common_nolibc.cc @@ -16,6 +16,8 @@ namespace __sanitizer { +#if SANITIZER_LINUX void WriteToSyslog(const char *buffer) {} +#endif } -- 2.7.4