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