mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
endian.hpp: minor simplification
And stop pretending...
This commit is contained in:
parent
7a015b6fc0
commit
33c3977036
2 changed files with 26 additions and 44 deletions
|
|
@ -1,5 +1,7 @@
|
|||
// 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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue