diff --git a/include/common/cmdlib.hh b/include/common/cmdlib.hh index 65e53e80..b4a93ae0 100644 --- a/include/common/cmdlib.hh +++ b/include/common/cmdlib.hh @@ -108,25 +108,8 @@ time_point I_FloatTime(); * BYTE ORDER FUNCTIONS * ============================================================================ */ -// C++20 polyfill -#if defined(__cpp_lib_endian) && __cpp_lib_endian >= 201907L -#include -#else -namespace std -{ -enum class endian -{ - little = 0, - big = 1, -#ifdef __BIG_ENDIAN__ - native = big -#else - native = little -#endif -}; -} // namespace std -#endif +#include // Binary streams; by default, streams use the native endianness // (unchanged bytes) but can be changed to a specific endianness