On 10/23/2017 02:20 PM, Greg V wrote:
Obtained from: FreeBSD ports
---
  src/mesa/main/compiler.h | 3 +++
  1 file changed, 3 insertions(+)

diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index 43a06b4313..8652aac36c 100644
--- a/src/mesa/main/compiler.h
+++ b/src/mesa/main/compiler.h
@@ -51,6 +51,9 @@
  #if defined(__linux__)
  #include <byteswap.h>
  #define CPU_TO_LE32( x )      bswap_32( x )
+#elif defined(__FreeBSD__)
+#include <sys/endian.h>
+#define CPU_TO_LE32( x )       bswap32( x )
  #elif defined(__APPLE__)
  #include <CoreFoundation/CFByteOrder.h>
  #define CPU_TO_LE32( x )      CFSwapInt32HostToLittle( x )


I think "compiler:" in the subject line could be just "mesa:".

Otherwise, for patches 3,4,5: Reviewed-by: Brian Paul <bri...@vmware.com>

I'll leave 1,2 to others.

-Brian

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to