aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/files/replace_glibc_check_with_linux.patch
blob: e4461ef1776d0cee118c0edb2766c86e8b4b81cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
endianness check is OS wide and not specific to libc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upstream-Status: Pending
Index: mesa-11.1.1/src/gallium/include/pipe/p_config.h
===================================================================
--- mesa-11.1.1.orig/src/gallium/include/pipe/p_config.h
+++ mesa-11.1.1/src/gallium/include/pipe/p_config.h
@@ -130,7 +130,7 @@
  * Endian detection.
  */
 
-#ifdef __GLIBC__
+#if defined(__linux__)
 #include <endian.h>
 
 #if __BYTE_ORDER == __LITTLE_ENDIAN