[19.2.5] lp_bld_misc: broken #if PIPE_ARCH_LITTLE_ENDIAN on ppc64l
ae071434 has been backported from master to 19.2. f9f60da8 changed the macros from empty to 0 and the #ifdef
s to #if
s, but that has not been backported.
Line 708, which was accidentally backported, is causing a compile error on ppc64le:
/lp_bld_misc.cpp
../src/gallium/auxiliary/gallivm/lp_bld_misc.cpp:708:28: error: #if with no expression
708 | #if PIPE_ARCH_LITTLE_ENDIAN
This can be fixed by changing line 708 to
#ifdef PIPE_ARCH_LITTLE_ENDIAN