Revert demo
This commit is contained in:
1 parent
69062ba3ab
commit
f23bd2dc27
2 files changed
+755
-6
No files matched your search
@@ -345,7 +345,7 @@ void init_build_context(void) {
|
||||
|
||||
{
|
||||
u16 x = 1;
|
||||
bool big = !bit_cast<u8>(x);
|
||||
bool big = !*cast(u8 *)&x;
|
||||
bc->ODIN_ENDIAN = big ? str_lit("big") : str_lit("little");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user