Update for release 2.3.1
[openjpeg.git] / cmake / TestFileOffsetBits.c
1 #include <sys/types.h>
2
3 /* Cause a compile-time error if off_t is smaller than 64 bits */
4 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5 int off_t_is_large[ (LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1 ];  
6
7 int main(int argc, char **argv)
8 {
9   return 0;
10 }
11