Fix Hurd support for the vesa driver.

Also, nitpick, but `__GNU__` is the correct ifdef to use, not `__hurd__`.

Signed-off-by: NexusSfan <nexussfan@duck.com>
This commit is contained in:
NexusSfan
2026-03-12 21:13:58 -07:00
committed by Enrico Weigelt
parent 9036215b02
commit 13234efe7b
2 changed files with 2 additions and 1 deletions

View File

@@ -307,7 +307,7 @@ listPossibleVideoDrivers(XF86MatchedDrivers *md)
#endif
/* Fallback to platform default hardware */
#if defined(__i386__) || defined(__amd64__) || defined(__hurd__)
#if defined(__i386__) || defined(__amd64__) || defined(__GNU__)
xf86AddMatchedDriver(md, "vesa");
#elif defined(__sparc__) && !defined(__sun)
xf86AddMatchedDriver(md, "sunffb");

View File

@@ -148,6 +148,7 @@ else
'stub/stub_bell.c',
'stub/stub_init.c',
'stub/stub_video.c',
'misc/SlowBcopy.c',
]
endif