From 0b357ed2abd95162787a4cfb16ba1dc3963a6ba2 Mon Sep 17 00:00:00 2001 From: Asiri Rathnayake Date: Thu, 13 Oct 2016 18:40:57 +0000 Subject: [PATCH] [libcxxabi] Fix gcc build after r284128 NFC. llvm-svn: 284141 --- libcxxabi/src/config.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libcxxabi/src/config.h b/libcxxabi/src/config.h index d30c49b57eaa..625ad1b41c64 100644 --- a/libcxxabi/src/config.h +++ b/libcxxabi/src/config.h @@ -16,6 +16,10 @@ #include +#ifndef __has_attribute + #define __has_attribute(x) 0 +#endif + // Configure inline visibility attributes #if defined(_WIN32) #if defined(_MSC_VER) && !defined(__clang__)