Hi. Hopefully this is the right list for this question!
I am writing an extension for Ruby in C, and I need to determine
the endianness of the machine and set a flag when I compile. What is
the best way to go about this? I’ve seen examples of determining
endianness but I don’t know how to set the flag in extconf.rb
Any help would be greatly appreciated. Thank you!