32 lines
507 B
C
32 lines
507 B
C
/*
|
|
* $Id: types.h,v 1.6 2005-01-06 15:13:26 bacon Exp $
|
|
*/
|
|
|
|
#ifndef _XP_TYPES_H_
|
|
#define _XP_TYPES_H_
|
|
|
|
#ifdef _WIN32
|
|
#else
|
|
#include <xp/itypes.h>
|
|
#endif
|
|
|
|
typedef xp_uint8_t xp_byte_t;
|
|
|
|
typedef xp_int8_t xp_mchar_t;
|
|
typedef xp_int32_t xp_mcint_t;
|
|
|
|
typedef xp_int16_t xp_wchar_t;
|
|
typedef xp_int32_t xp_wcint_t;
|
|
|
|
/*
|
|
#define XP_CHAR_IS_MCHAR
|
|
typedef xp_mchar_t xp_char_t;
|
|
typedef xp_mcint_t xp_cint_t;
|
|
*/
|
|
|
|
#define XP_CHAR_IS_WCHAR
|
|
typedef xp_wchar_t xp_char_t;
|
|
typedef xp_wcint_t xp_cint_t;
|
|
|
|
#endif
|