I'm not sure if convention is that we're supposed to set __DARWIN__ in configure now, but it seems reasonable enough to just check for __APPLE__ instead, which is defined by the compiler. __DARWIN__ used to be defined by the monolithic build, but it's not defined anywhere anymore in the modular one.
Created attachment 7778 [details] [review] change __DARWIN__ to __APPLE__
Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.