VXWORKS 类型
/************************************************************************/
/* VXWORKS - VXWORKS on Motorola 680x0 processor */
/************************************************************************/
#if defined(VXWORKS)
/* We can tolerate machine-dependent sizes for these types */
#define CM_CHAR char
#define CM_INT int
#define CM_LONG long int
#define CM_UCHAR unsigned char
#define CM_UINT unsigned int
#define CM_ULONG unsigned long
#define CM_VOID void
#define CM_DOUBLE double
#define CM_FLOAT float
/* General purpose return code */
#define CM_RET int
/* We need specific sizes for these types */
#define CM_INT8 char
#define CM_INT16 short
#define CM_INT32 long
#define CM_UINT8 unsigned char
#define CM_UINT16 unsigned short
#define CM_UINT32 unsigned long
#define CM_BOOLEAN unsigned char
/* This define shows that we have supplied all required */
#define _CYSRTYPES_DEFINED
#endif
浙公网安备 33010602011771号