Skip to content
  • Dylan Baker's avatar
    util/u_endian: set PIPE_ARCH_*_ENDIAN to 1 · f9f60da8
    Dylan Baker authored
    
    
    This will allow it to be used as a drop in replacement for
    _mesa_little_endian in a number of cases.
    
    v2: - Always define PIPE_ARCH_LITTLE_ENDIAN and PIPE_ARCH_BIG_ENDIAN,
          define the one that reflects the host system to 1 and the other to 0
        - replace all uses of #ifdef, #ifndef, and #if defined() with #if
          and #if ! with PIPE_ARCH_*_ENDIAN
    
    Reviewed-by: Eric Engestrom's avatarEric Engestrom <eric@engestrom.ch>
    f9f60da8