| author | |
| committer | |
| log | 43a1b88bc822ad04d51ff0fa8f5704da52ca4202 |
| tree | 4844d83e37611d9bcd154af7d30a58e9d4fbe54f |
| parent | 4e09e363cd00b1dd36467ef7958d750ea09f296d |
| signature |
The former is supported by most compilers while the latter is Clang-only.1 files changed, 1 insertions(+), 1 deletions(-)
lib/zig.h+1-1| ... | ... | @@ -41,7 +41,7 @@ typedef char bool; |
| 41 | 41 | #define zig_has_attribute(attribute) 0 |
| 42 | 42 | #endif |
| 43 | 43 | |
| 44 | #if __LITTLE_ENDIAN__ || _MSC_VER | |
| 44 | #if defined(_MSC_VER) || __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ | |
| 45 | 45 | #define zig_little_endian 1 |
| 46 | 46 | #define zig_big_endian 0 |
| 47 | 47 | #else |