home *** CD-ROM | disk | FTP | other *** search
/ nisttime.carsoncity.k12.mi.us / nisttime.carsoncity.k12.mi.us.tar / nisttime.carsoncity.k12.mi.us / pub / lockclock / sizint.h < prev    next >
C/C++ Source or Header  |  1996-11-18  |  589b  |  27 lines

  1. /*
  2.     sizint.h -- if this is an alpha machine then defines
  3.     defines 32 bit int to be a standard int, since a long
  4.     int on the alpha is 64 bits.
  5.  
  6.     LFMT is the format corresponding string that must be
  7.     used to print out the thing defined as a LONG.
  8.  
  9.     if this is any other machine then define a 32 bit int
  10.     as long.  Only do this once so that nested includes
  11.     don't cause a problem.
  12. */
  13. #ifndef ALPHA
  14. #define ALPHA 0
  15. #endif
  16. #ifndef LONG
  17. #if ALPHA == 1
  18. #define LONG int
  19. #define LFMT  " %d"
  20. #define L5FMT " %5d"
  21. #else
  22. #define LONG long int
  23. #define LFMT  " %ld"
  24. #define L5FMT " %5ld"
  25. #endif
  26. #endif
  27.