mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
xserver: hw/xfree86,include: add a missed ifdef
It is patch 1/7 of a series that provides a convenient way to specify IgnoreABI and module search paths on a per-driver basis. It adds #ifdef CONFIG_LEGACY_NVIDIA_PADDING wherever it should be but is missed. Signed-off-by: Oleh Nykyforchyn <oleh.nyk@gmail.com>
This commit is contained in:
committed by
Enrico Weigelt
parent
7aa06ee749
commit
3817846c6d
@@ -203,10 +203,13 @@ LoaderGetABIVersion(const char *abiclass)
|
||||
* complexity to the codebase, we will no longer be able to
|
||||
* support both abi's at once.
|
||||
*
|
||||
* We will probably have to add a compile-time flag that switches
|
||||
* Therefore we have added a compile-time flag that switches
|
||||
* between abi's.
|
||||
*/
|
||||
{ABI_CLASS_VIDEODRV, is_nvidia_proprietary ? ABI_NVIDIA_VERSION :
|
||||
{ABI_CLASS_VIDEODRV,
|
||||
#ifdef CONFIG_LEGACY_NVIDIA_PADDING
|
||||
is_nvidia_proprietary ? ABI_NVIDIA_VERSION :
|
||||
#endif
|
||||
LoaderVersionInfo.videodrvVersion},
|
||||
{ABI_CLASS_XINPUT, LoaderVersionInfo.xinputVersion},
|
||||
{ABI_CLASS_EXTENSION, LoaderVersionInfo.extensionVersion},
|
||||
|
||||
@@ -38,6 +38,9 @@
|
||||
/* Support XDM-AUTH*-1 */
|
||||
#mesondefine HASXDMAUTH
|
||||
|
||||
/* Add a padding for legacy nvidia drivers that support old ABI */
|
||||
#mesondefine CONFIG_LEGACY_NVIDIA_PADDING
|
||||
|
||||
/* Define to 1 if you have the `reallocarray' function. */
|
||||
#mesondefine HAVE_REALLOCARRAY
|
||||
|
||||
|
||||
Reference in New Issue
Block a user