22 Jan
2024
22 Jan
'24
12:24 a.m.
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`). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4884#note_58349