[Mesa-dev] [PATCH 2/6] pipe: Add PIPE_OS_HURD
Corbin Simpson
mostawesomedude at gmail.com
Thu Jun 24 01:08:03 PDT 2010
On Wed, Jun 23, 2010 at 6:31 PM, nobled <nobled at dreamwidth.org> wrote:
> One tiny step toward porting Gallium to the GNU/Hurd kernel
> (and fixing Debian bug #585618).
> ---
> src/gallium/include/pipe/p_config.h | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/src/gallium/include/pipe/p_config.h
> b/src/gallium/include/pipe/p_config.h
> index 68025fa..b077933 100644
> --- a/src/gallium/include/pipe/p_config.h
> +++ b/src/gallium/include/pipe/p_config.h
> @@ -146,6 +146,11 @@
> #define PIPE_OS_UNIX
> #endif
>
> +#if defined(__GNU__)
> +#define PIPE_OS_HURD
> +#define PIPE_OS_UNIX
> +#endif
> +
> #if defined(__sun)
> #define PIPE_OS_SOLARIS
> #define PIPE_OS_UNIX
> --
> 1.5.4.3
This is only defined on HURD, right? It's not part of the GCC-specific defines?
~ C.
--
When the facts change, I change my mind. What do you do, sir? ~ Keynes
Corbin Simpson
<MostAwesomeDude at gmail.com>
More information about the mesa-dev
mailing list