diff options
Diffstat (limited to 'contrib/ntp/util/longsize.c')
-rw-r--r-- | contrib/ntp/util/longsize.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/ntp/util/longsize.c b/contrib/ntp/util/longsize.c new file mode 100644 index 0000000..bba1955 --- /dev/null +++ b/contrib/ntp/util/longsize.c @@ -0,0 +1,11 @@ +#include <stdio.h> + +main() +{ + if (sizeof(long) == 8) { + printf("-DLONG8\n"); + } else if (sizeof(long) == 4) { + printf("-DLONG4\n"); + } + exit(0); +} |