mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-23 23:30:02 +00:00
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:
committed by
Enrico Weigelt
parent
9036215b02
commit
13234efe7b
@@ -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");
|
||||
|
||||
@@ -148,6 +148,7 @@ else
|
||||
'stub/stub_bell.c',
|
||||
'stub/stub_init.c',
|
||||
'stub/stub_video.c',
|
||||
'misc/SlowBcopy.c',
|
||||
]
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user