mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Old compilers used on some platforms (e.g. DragonFlyBSD) do not support __has_builtin, so now we fall back to #if define if __has_builtin is not found. Signed-off-by: b-aaz <b-aazbsd@proton.me>
special compat code for legacy drivers, namely Nvidia proprietary NVidia is lacking behind for at least a year and don't actually clean up their spaghetti code. That's why we need to keep several special compat functions to emulate prehistoric behaviour.