mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-16 10:52:22 -07:00
Revert demo
This commit is contained in:
@@ -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