1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 5 // This program returns 0 if executing on ppc64 big endian; otherwise returns 1 6 main(void)7 int main(void) 8 { 9 #if defined(VGP_ppc64be_linux) 10 return 0; 11 #else 12 return 1; 13 #endif 14 } 15