| Index: base/allocator/allocator_shim_internals.h
|
| diff --git a/base/allocator/allocator_shim_internals.h b/base/allocator/allocator_shim_internals.h
|
| index 35df284b89ad1af9f55c226950c22a5170eca472..fc3624c596bd3980cd00755cf26ed1cd29d893b4 100644
|
| --- a/base/allocator/allocator_shim_internals.h
|
| +++ b/base/allocator/allocator_shim_internals.h
|
| @@ -9,8 +9,12 @@
|
|
|
| #include <sys/cdefs.h> // for __THROW
|
|
|
| -#ifndef __THROW /* Not a glibc system */
|
| +#ifndef __THROW // Not a glibc system
|
| +#ifdef _NOEXCEPT // LLVM libc++ uses noexcept instead
|
| +#define __THROW _NOEXCEPT
|
| +#else
|
| #define __THROW
|
| +#endif // !_NOEXCEPT
|
| #endif
|
|
|
| // Shim layer symbols need to be ALWAYS exported, regardless of component build.
|
|
|