*** empty log message ***

This commit is contained in:
hyung-hwan 2005-02-13 16:15:31 +00:00
parent 8453194baa
commit fc82972112

View File

@ -1,5 +1,5 @@
/*
* $Id: types.h,v 1.12 2005-02-06 03:27:54 bacon Exp $
* $Id: types.h,v 1.13 2005-02-13 16:15:31 bacon Exp $
*/
#ifndef _XP_TYPES_H_
@ -10,6 +10,57 @@
#endif
#include <xp/xp_types.h>
#if defined(XP_HAVE_LONG_LONG)
typedef long long xp_long_t;
typedef unsigned long long xp_ulong_t;
#elif defined(XP_HAVE___INT64)
typedef __int64 xp_long_t;
typedef unsigned __int64 xp_ulong_t;
#else
typedef long xp_long_t;
typedef unsigned long xp_ulong_t;
#endif
#if SIZEOF_VOID_P == SIZEOF_LONG_LONG
typedef long long xp_int_t;
typedef unsigned long long xp_uint_t;
#elif SIZEOF_VOID_P == SIZEOF_LONG
typedef long xp_int_t;
typedef unsigned long xp_uint_t;
#else
typedef int xp_int_t;
typedef unsigned int xp_uint_t;
#endif
#if SIZEOF_CHAR == 8
typedef char xp_int8_t;
typedef unsigned char xp_uint8_t;
#endif
#if SIZEOF_SHORT == 16
typedef short xp_int16_t;
typedef unsigned short xp_uint16_t;
#endif
#if SIZEOF_INT == 32
typedef int xp_int32_t;
typedef unsigned int xp_uint32_t;
#elif SIZEOF_LONG == 32
typedef long xp_int32_t;
typedef unsigned long xp_uint32_t;
#endif
#if SIZEOF_INT = 64
typedef int xp_int64_t;
typedef unsigned int xp_uint64_t;
#elif SIZEOF_LONG == 64
typedef long xp_int64_t;
typedef unsigned long xp_uint64_t;
#elif SIZEOF_LONG_LONG == 64
typedef long long xp_int64_t;
typedef unsigned long long xp_uint64_t;
#endif
typedef xp_uint8_t xp_byte_t;
typedef int xp_bool_t;