is there a #pragma or other compile-time solution to make 'abcd' expressions interpreted as little-endian 0x64636261?
To get 0x64636261, use
0x64636261
#include <stdint.h> UINT32_C('a') << 24 | UINT32_C('b') << 16 | UINT32_C('c') << 8 | UINT32_C('d')