[PATCH xserver] autoconfig: replace undefined __hurd__ with __GNU__

Alan Coopersmith alan.coopersmith at oracle.com
Wed Oct 27 16:35:26 PDT 2010


Gaetan Nadon wrote:
> OS related files in the server use the correct __GNU__ define.
> 
> Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
> ---
>  hw/xfree86/common/xf86AutoConfig.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/hw/xfree86/common/xf86AutoConfig.c b/hw/xfree86/common/xf86AutoConfig.c
> index 200cb8f..68615a0 100644
> --- a/hw/xfree86/common/xf86AutoConfig.c
> +++ b/hw/xfree86/common/xf86AutoConfig.c
> @@ -260,7 +260,7 @@ listPossibleVideoDrivers(char *matches[], int nmatches)
>  
>      /* Fallback to platform default hardware */
>      if (i < (nmatches - 1)) {
> -#if defined(__i386__) || defined(__amd64__) || defined(__hurd__)
> +#if defined(__i386__) || defined(__amd64__) || defined(__GNU__)
>  	matches[i++] = xnfstrdup("vesa");

Is vesa the right driver to use on non-x86 Hurd systems?

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list