rpcsx/rpcs3/stdafx.cpp
Nekotekina 33c3977036 endian.hpp: minor simplification
And stop pretending...
2020-12-11 22:00:26 +03:00

8 lines
316 B
C++

// No BOM and only basic ASCII in this file, or a neko will die
#include "stdafx.h"
static_assert(std::endian::native == std::endian::little || std::endian::native == std::endian::big);
static_assert(be_t<u16>(1) + be_t<u32>(2) + be_t<u64>(3) == 6);
static_assert(le_t<u16>(1) + le_t<u32>(2) + le_t<u64>(3) == 6);