From 9a633009c8af9264400ece318d721cbdd54f9548 Mon Sep 17 00:00:00 2001 From: Peter Atashian Date: Wed, 30 Sep 2015 23:23:12 -0400 Subject: [PATCH] Fix build on MSVC Signed-off-by: Peter Atashian --- lib/builtins/int_util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/builtins/int_util.h b/lib/builtins/int_util.h index a9b595db8d..16a6ac6cbe 100644 --- a/lib/builtins/int_util.h +++ b/lib/builtins/int_util.h @@ -18,12 +18,12 @@ #ifndef INT_UTIL_H #define INT_UTIL_H - +#ifndef _MSC_VER /** \brief Trigger a program abort (or panic for kernel code). */ #define compilerrt_abort() compilerrt_abort_impl(__FILE__, __LINE__, \ __func__) void compilerrt_abort_impl(const char *file, int line, const char *function) __attribute__((noreturn)); - +#endif /* _MSC_VER */ #endif /* INT_UTIL_H */