Jacek Caban (@jacek) commented about include/winnt.h:
FirmwareTypeMax
} FIRMWARE_TYPE, *PFIRMWARE_TYPE;
+#if (defined(__clang__) || defined(__GNUC__)) && defined(__has_builtin) +# define WINE__HAS_BUILTIN(x) __has_builtin(x) +#else +# define WINE__HAS_BUILTIN(x) 0 +#endif
I think you could just ensure that `__has_builtin` always defined (like we do for `__has_attribute`).