File: is_ppc64_BE.c

package info (click to toggle)
valgrind 1:3.10.0-4~bpo7+1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 97,940 kB
  • sloc: ansic: 589,429; xml: 21,096; exp: 8,751; cpp: 7,366; asm: 6,526; perl: 5,656; sh: 5,334; makefile: 4,946; haskell: 195
file content (14 lines) | stat: -rw-r--r-- 230 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

// This program returns 0 if executing on ppc64 big endian; otherwise returns 1

int main(void)
{
#if defined(VGP_ppc64be_linux)
   return 0;
#else
   return 1;
#endif
}