zig

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

endian.h (534B) - Raw


      1 /* This file should define __BYTE_ORDER as appropriate for the machine
      2    in question.  See string/endian.h for how to define it.
      3 
      4    If only the stub bits/endian.h applies to a particular configuration,
      5    bytesex.h is generated by running a program on the host machine.
      6    So if cross-compiling to a machine with a different byte order,
      7    the bits/endian.h file for that machine must exist.  */
      8 
      9 #ifndef _ENDIAN_H
     10 # error "Never use <bits/endian.h> directly; include <endian.h> instead."
     11 #endif
     12 
     13 #error Machine byte order unknown.