Mesa (master): util: Assume little endian in the absence of platform-specific handling
Matt Turner
mattst88 at kemper.freedesktop.org
Sat Nov 25 20:30:58 UTC 2017
Module: Mesa
Branch: master
Commit: 6a353479a7577dcff7c7a31809f27b59270648fb
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a353479a7577dcff7c7a31809f27b59270648fb
Author: Matt Turner <mattst88 at gmail.com>
Date: Fri Nov 24 20:25:04 2017 -0800
util: Assume little endian in the absence of platform-specific handling
---
src/util/u_endian.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/util/u_endian.h b/src/util/u_endian.h
index 7bbd7dc215..3d5c006f35 100644
--- a/src/util/u_endian.h
+++ b/src/util/u_endian.h
@@ -67,4 +67,7 @@
#endif
+#warn Unknown Endianness for this platform. Assuming little endian
+#define PIPE_ARCH_LITTLE_ENDIAN
+
#endif
More information about the mesa-commit
mailing list