mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 10:40:11 +01:00
Add solaris detection for PIPE_ARCH_LITTLE_ENDIAN/PIPE_ARCH_BIG_ENDIAN
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
parent
6e160d01f2
commit
b27298055e
1 changed files with 9 additions and 0 deletions
|
|
@ -129,6 +129,15 @@
|
|||
# define PIPE_ARCH_BIG_ENDIAN
|
||||
#endif
|
||||
|
||||
#elif defined(__sun)
|
||||
#include <sys/isa_defs.h>
|
||||
|
||||
#if defined(_LITTLE_ENDIAN)
|
||||
# define PIPE_ARCH_LITTLE_ENDIAN
|
||||
#elif defined(_BIG_ENDIAN)
|
||||
# define PIPE_ARCH_BIG_ENDIAN
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
#if defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue