PageRenderTime 13ms CodeModel.GetById 9ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/contrib/ntp/util/longsize.c

https://bitbucket.org/freebsd/freebsd-head/
C | 11 lines | 10 code | 1 blank | 0 comment | 5 complexity | c095abed4084a8f01dbc2a871f00f53e MD5 | raw file
Possible License(s): MPL-2.0-no-copyleft-exception, BSD-3-Clause, LGPL-2.0, LGPL-2.1, BSD-2-Clause, 0BSD, JSON, AGPL-1.0, GPL-2.0
 1#include <stdio.h>
 2
 3main()
 4{
 5	if (sizeof(long) == 8) { 
 6		printf("-DLONG8\n");
 7	} else if (sizeof(long) == 4) {
 8		printf("-DLONG4\n");
 9	}
10	exit(0);
11}