I'd like to ask, if anyone else looked at this really simple patch and/or tested it?

Thank you

Dne 2014-03-14 19:57, David Heidelberger napsal:
---
 src/gallium/include/pipe/p_config.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/include/pipe/p_config.h
b/src/gallium/include/pipe/p_config.h
index d603681..cd6f560 100644
--- a/src/gallium/include/pipe/p_config.h
+++ b/src/gallium/include/pipe/p_config.h
@@ -130,7 +130,7 @@
  * Endian detection.
  */

-#ifdef __GLIBC__
+#if defined(PIPE_OS_LINUX) || defined(__GLIBC__)
 #include <endian.h>

 #if __BYTE_ORDER == __LITTLE_ENDIAN
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to