File: TestFileOffsetBits.c

package info (click to toggle)
openjpeg2 2.1.2-1.1%2Bdeb9u4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 13,772 kB
  • sloc: ansic: 162,102; cpp: 6,732; java: 1,996; tcl: 678; sh: 495; makefile: 65
file content (11 lines) | stat: -rw-r--r-- 305 bytes parent folder | download | duplicates (22)
1
2
3
4
5
6
7
8
9
10
11
#include <sys/types.h>

/* Cause a compile-time error if off_t is smaller than 64 bits */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
int off_t_is_large[ (LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1 ];  

int main(int argc, char **argv)
{
  return 0;
}