| Index: build/config/mac/BUILD.gn
|
| diff --git a/build/config/mac/BUILD.gn b/build/config/mac/BUILD.gn
|
| index 72ba5aa7af203447b8c77fe346479e8da5f1287f..dcc86f4d2241aa513e0aec8b25aaac744870c4f6 100644
|
| --- a/build/config/mac/BUILD.gn
|
| +++ b/build/config/mac/BUILD.gn
|
| @@ -64,6 +64,14 @@ config("runtime_library") {
|
| asmflags = common_flags
|
| cflags = common_flags
|
| ldflags = common_flags
|
| +
|
| + if (is_mac) {
|
| + # Prevent Mac OS X AssertMacros.h from defining macros that collide
|
| + # with common names, like 'check', 'require', and 'verify'.
|
| + # (Included by system header. Also exists on iOS but not included.)
|
| + # http://opensource.apple.com/source/CarbonHeaders/CarbonHeaders-18.1/AssertMacros.h
|
| + defines = [ "__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE=0" ]
|
| + }
|
| }
|
|
|
| # On Mac, this is used for everything except static libraries.
|
|
|