On Monday, December 7th, 2020 at 10:55 AM, James Park james.park@lagfreegames.com wrote:
I'd noticed the #if could be combined, but they weren't in drm,h when they could have been, so I didn't want to depart from the existing pattern.
I see. The original code really needed the two branches and drm_basic_types.h doesn't. But let's see what others think.
I think "One of the BSDs" is more informative than "Not Linux" if that statement is still true. Given the aversion to making drm.h robust to Windows, I don't think we want to imply compatibility that isn't there.
Well, drm_basic_types.h would be included on Windows as well from drm_fourcc.h, right?