title: Determining endianness at compile time
body: <p>Is there a safe, portable way to determine (during compile time) the endianness of the platform that my program is being compiled on? I'm writing in C.</p>
  
  <p>[EDIT]
  Thanks for the answers, I decided to stick with the runtime solution!</p>