aboutsummaryrefslogtreecommitdiffstats
path: root/common/endiantest.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/endiantest.h')
-rw-r--r--common/endiantest.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/common/endiantest.h b/common/endiantest.h
deleted file mode 100644
index 893653bd..00000000
--- a/common/endiantest.h
+++ /dev/null
@@ -1,15 +0,0 @@
-#ifndef AL_ENDIANTEST_H
-#define AL_ENDIANTEST_H
-
-#if defined(__BYTE_ORDER__) && defined(__ORDER_LITTLE_ENDIAN__)
-#define IS_LITTLE_ENDIAN (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
-#else
-constexpr inline bool EndianTest() noexcept
-{
- constexpr int test_val{1};
- return static_cast<const char&>(test_val);
-}
-#define IS_LITTLE_ENDIAN (EndianTest())
-#endif
-
-#endif /* AL_ENDIANTEST_H */