home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / panix / ek17.zip / cdefs.h next >
C/C++ Source or Header  |  2011-03-30  |  841b  |  34 lines

  1. #ifndef __CDEFS_H__
  2. #define __CDEFS_H__
  3.  
  4. /*
  5.   By default, the internal routines of kermit.c are not static,
  6.   because this is not allowed in some embedded environments.
  7.   To have them declared static, define STATIC=static on the cc
  8.   command line.
  9. */
  10. #ifdef XAC  /* HiTech's XAC cmd line is small */
  11. #define STATIC static
  12. #else /* XAC */
  13. #ifndef STATIC
  14. #define STATIC
  15. #endif /* STATIC */
  16. #endif    /* XAC */
  17.  
  18. /*
  19.   By default we assume the compiler supports unsigned char and
  20.   unsigned long.  If not you can override these definitions on
  21.   the cc command line.
  22. */
  23. #ifndef HAVE_UCHAR
  24. typedef unsigned char UCHAR;
  25. #endif /* HAVE_UCHARE */
  26. #ifndef HAVE_ULONG
  27. typedef unsigned long ULONG;
  28. #endif /* HAVE_ULONG */
  29. #ifndef HAVE_USHORT
  30. typedef unsigned short USHORT;
  31. #endif /* HAVE_USHORT */
  32.  
  33. #endif /* __CDEFS_H__ */
  34.