Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | endianness check is OS wide and not specific to libc |
| 2 | |
| 3 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 4 | Upstream-Status: Pending |
| 5 | Index: mesa-11.1.1/src/gallium/include/pipe/p_config.h |
| 6 | =================================================================== |
| 7 | --- mesa-11.1.1.orig/src/gallium/include/pipe/p_config.h |
| 8 | +++ mesa-11.1.1/src/gallium/include/pipe/p_config.h |
| 9 | @@ -130,7 +130,7 @@ |
| 10 | * Endian detection. |
| 11 | */ |
| 12 | |
| 13 | -#ifdef __GLIBC__ |
| 14 | +#if defined(__linux__) |
| 15 | #include <endian.h> |
| 16 | |
| 17 | #if __BYTE_ORDER == __LITTLE_ENDIAN |