From: José Fonseca Date: Tue, 29 Sep 2009 12:17:36 +0000 (+0100) Subject: gallium: New PIPE_OS_UNIX to simplify code that is portable to all unices. X-Git-Tag: mesa-7.8~3062^2~88 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8210abb113462c781a8f3ffee3406493c108a2f0;p=platform%2Fupstream%2Fmesa.git gallium: New PIPE_OS_UNIX to simplify code that is portable to all unices. --- diff --git a/src/gallium/include/pipe/p_config.h b/src/gallium/include/pipe/p_config.h index de99957..78fe1f4 100644 --- a/src/gallium/include/pipe/p_config.h +++ b/src/gallium/include/pipe/p_config.h @@ -122,18 +122,22 @@ #if defined(__linux__) #define PIPE_OS_LINUX +#define PIPE_OS_UNIX #endif #if defined(__FreeBSD__) #define PIPE_OS_BSD +#define PIPE_OS_UNIX #endif #if defined(__sun) #define PIPE_OS_SOLARIS +#define PIPE_OS_UNIX #endif #if defined(__APPLE__) #define PIPE_OS_APPLE +#define PIPE_OS_UNIX #endif #if defined(_WIN32) || defined(WIN32) @@ -142,6 +146,7 @@ #if defined(__HAIKU__) #define PIPE_OS_HAIKU +#define PIPE_OS_UNIX #endif /*