Made g_protonate (partially) work.
[gromacs/rigid-bodies.git] / cmake / TestFileOffsetBits.c
blob993b2da43e9a6c423b5604285d881f4ea12f09a9
1 #include <sys/types.h>
3 int main(int argc, char **argv)
5 /* Cause a compile-time error if off_t is smaller than 64 bits */
6 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7 int off_t_is_large[ (LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1 ];
8 return 0;