aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/u_endian.h
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2017-11-24 20:25:04 -0800
committerMatt Turner <[email protected]>2017-11-25 12:30:46 -0800
commit6a353479a7577dcff7c7a31809f27b59270648fb (patch)
treeda200fb909866e38e185fd4dc06a5fcb07a15970 /src/util/u_endian.h
parent78942e7dbfd234ce080b2773b9317a61deb77788 (diff)
util: Assume little endian in the absence of platform-specific handling
Diffstat (limited to 'src/util/u_endian.h')
-rw-r--r--src/util/u_endian.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/u_endian.h b/src/util/u_endian.h
index 7bbd7dc2153..3d5c006f353 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