zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

endianness.h (312B) - Raw


      1 #ifndef _BITS_ENDIANNESS_H
      2 #define _BITS_ENDIANNESS_H 1
      3 
      4 #ifndef _BITS_ENDIAN_H
      5 # error "Never use <bits/endianness.h> directly; include <endian.h> instead."
      6 #endif
      7 
      8 #ifdef __CSKYBE__
      9 # error "Big endian not supported for C-SKY."
     10 #else
     11 # define __BYTE_ORDER __LITTLE_ENDIAN
     12 #endif
     13 
     14 #endif /* bits/endianness.h */