Suggestion to resolve build error in Mac Monterey 12.0.1

190 views
Skip to first unread message

ajay nair

unread,
Jun 26, 2023, 4:34:11 PM6/26/23
to Chromium-discuss
Hi team,

I tried to build chromium on MacOs Monterey 12.0.1 with m1 processor and it fails here: 
because NSWindowCollectionBehaviorPrimary is available only in MacOs 13 and later. I see that the line is surrounded with this if condition: 
if (@available(macOS 13.0, *)) { 

Shouldn't this be #if __MAC_OS_X_VERSION_MAX_ALLOWED >= 130000
 instead? If any of you agree, I can get a PR ready. Hopefully this can be the start of several contributions to chromium for me :) 
Reply all
Reply to author
Forward
0 new messages