carll | dd690bf | 2014-08-07 23:49:27 +0000 | [diff] [blame] | 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 | |||||
7 | int main(void) | ||||
8 | { | ||||
9 | #if defined(VGP_ppc64be_linux) | ||||
10 | return 0; | ||||
11 | #else | ||||
12 | return 1; | ||||
13 | #endif | ||||
14 | } |