SyntaxFix
Write A Post
Hire A Developer
Questions
This is big endian test from a configure script:
#include <inttypes.h> int main(int argc, char ** argv){ volatile uint32_t i=0x01234567; // return 0 for big endian, 1 for little endian. return (*((uint8_t*)(&i))) == 0x67; }