ODIN_ENDIAN changed to an enum constant; ODIN_ENUM_STRING is the new string version of the old constant
This commit is contained in:
1 parent
3f59c45740
commit
f0529535e0
14 files changed
+64
-45
No files matched your search
@@ -285,8 +285,8 @@ marshal_to_writer :: proc(w: io.Writer, v: any) -> (err: Marshal_Error) {
|
||||
case runtime.Type_Info_Integer:
|
||||
switch info.endianness {
|
||||
case .Platform: return false
|
||||
case .Little: return ODIN_ENDIAN != "little"
|
||||
case .Big: return ODIN_ENDIAN != "big"
|
||||
case .Little: return ODIN_ENDIAN != .Little
|
||||
case .Big: return ODIN_ENDIAN != .Big
|
||||
}
|
||||
}
|
||||
return false
|
||||
|
||||
Reference in new issue
Block a user