diff options
author | Howard Hinnant <hhinnant@apple.com> | 2013-01-14 17:07:27 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2013-01-14 17:07:27 +0000 |
commit | f1e633c1548e1504c651ab99aa16a1a99b74716c (patch) | |
tree | 15ac5d4a8c33e734b32260f5248d464a8724ca8b /libcxx/include | |
parent | 02fd3ad24be953803499add517320d2b1e427db0 (diff) | |
download | bcm5719-llvm-f1e633c1548e1504c651ab99aa16a1a99b74716c.tar.gz bcm5719-llvm-f1e633c1548e1504c651ab99aa16a1a99b74716c.zip |
Michael van der Westhuizen: Patches for Linux. Fixes http://llvm.org/bugs/show_bug.cgi?id=14648.
llvm-svn: 172435
Diffstat (limited to 'libcxx/include')
-rw-r--r-- | libcxx/include/__config | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config index 203be7616cc..8617b866842 100644 --- a/libcxx/include/__config +++ b/libcxx/include/__config @@ -66,6 +66,12 @@ # endif #endif // _WIN32 +#ifdef __linux__ +# if defined(__GNUC__) && _GNUC_VER >= 403 +# define _LIBCP_HAS_IS_BASE_OF +# endif +#endif + #ifdef __sun__ # include <sys/isa_defs.h> # ifdef _LITTLE_ENDIAN |