xserver/xfixes
Enrico Weigelt, metux IT consult ca361681f8 prevent name clash on Windows w/ RT_* defines
Windows' native headers using some our RT_* define's names for other things.
Since the naming isn't very nice anyways, introducing some new ones
(X11_RESTYPE_NONE, X11_RESTYPE_FONT, X11_RESTYPE_CURSOR) and define the old
ones as an alias to them, in case some out-of-tree code still uses them.

With thins change, we don't need to be so extremely careful about include
ordering and have explicit #undef's in order to prevent name clashes on
Win32 targets.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1355>
(cherry picked from commit 232cad9ec3)
2026-01-19 12:48:30 -08:00
..
cursor.c prevent name clash on Windows w/ RT_* defines 2026-01-19 12:48:30 -08:00
disconnect.c Remove "All rights reserved" from Oracle copyright notices 2023-02-25 09:40:41 -08:00
meson.build xfixes: Add ClientDisconnectMode 2021-06-07 17:28:05 +02:00
region.c prevent name clash on Windows w/ RT_* defines 2026-01-19 12:48:30 -08:00
saveset.c xfixes: unvalidated lengths (CVE-2017-12183) 2017-10-10 23:33:44 +02:00
select.c dispatch: Mark swapped dispatch as _X_COLD 2017-03-01 10:16:20 -05:00
xfixes.c Remove "All rights reserved" from Oracle copyright notices 2023-02-25 09:40:41 -08:00
xfixes.h xfixes: Unexport xfixes.h 2015-07-08 16:40:58 -04:00
xfixesint.h Remove "All rights reserved" from Oracle copyright notices 2023-02-25 09:40:41 -08:00