xref: /netbsd-src/external/bsd/ntp/dist/util/longsize.c (revision bdc22b2e01993381dcefeff2bc9b56ca75a4235c)
1 /*	$NetBSD: longsize.c,v 1.4 2016/01/08 21:35:42 christos 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