/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

  1. #include <stdio.h>
  2. main()
  3. {
  4. if (sizeof(long) == 8) {
  5. printf("-DLONG8\n");
  6. } else if (sizeof(long) == 4) {
  7. printf("-DLONG4\n");
  8. }
  9. exit(0);
  10. }