HACK: pinfo->private_data points to smb_info again
[wireshark-wip.git] / cmake / TestFileOffsetBits.c
blob980a3a14d247ffa4b7a6d27ac37bfdadda4cef34
1 /*
2 * $Id$
4 * This code was copied from http://www.gromacs.org/
5 * and its toplevel COPYING file starts with:
7 * GROMACS is free software, distributed under the GNU General Public License
8 * (GPL) Version 2.
9 */
11 #include <sys/types.h>
13 int main(int argc, char **argv)
15 /* Cause a compile-time error if off_t is smaller than 64 bits */
16 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17 int off_t_is_large[ (LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1 ];
18 return 0;