xref: /netbsd-src/external/bsd/ntp/dist/util/longsize.c (revision daf6c4152fcddc27c445489775ed1f66ab4ea9a9)
1 /*	$NetBSD: longsize.c,v 1.1.1.1 2009/12/13 16:57:28 kardel Exp $	*/
2 
3 #include <stdio.h>
4 
5 main()
6 {
7 	if (sizeof(long) == 8) {
8 		printf("-DLONG8\n");
9 	} else if (sizeof(long) == 4) {
10 		printf("-DLONG4\n");
11 	}
12 	exit(0);
13 }
14