qse/ase/conf_vms.h

72 lines
1.7 KiB
C
Raw Normal View History

2006-04-30 17:35:37 +00:00
/*
2006-10-24 04:31:07 +00:00
* $Id: conf_vms.h,v 1.7 2006-10-24 04:30:13 bacon Exp $
2006-04-30 17:35:37 +00:00
*/
2006-01-08 13:34:41 +00:00
/* TODO: please complete the itanium portion */
2005-05-20 04:01:12 +00:00
2006-01-08 13:34:41 +00:00
/* both vax and alpha are in the little endian. */
2006-10-24 04:31:07 +00:00
#define ASE_ENDIAN_LITTLE
2005-05-20 04:01:12 +00:00
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF_CHAR 1
#define ASE_SIZEOF_SHORT 2
#define ASE_SIZEOF_INT 4
#define ASE_SIZEOF_LONG 4
2006-05-06 16:05:12 +00:00
2006-01-08 13:34:41 +00:00
#if defined(vax) || defined(__vax)
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF_LONG_LONG 0
2006-01-08 13:34:41 +00:00
#elif defined(alpha) || defined(__alpha)
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF_LONG_LONG 8
2006-01-08 13:34:41 +00:00
#elif defined(itanium) || defined(__itanium)
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF_LONG_LONG 8
2005-05-20 04:01:12 +00:00
#else
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF_LONG_LONG 0
2005-05-20 04:01:12 +00:00
#endif
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF___INT8 1
#define ASE_SIZEOF___INT16 2
#define ASE_SIZEOF___INT32 4
2006-05-06 16:05:12 +00:00
2006-01-08 13:34:41 +00:00
#if defined(vax) || defined(__vax)
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF___INT64 0
2006-01-08 13:34:41 +00:00
#elif defined(alpha) || defined(__alpha)
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF___INT64 8
2006-01-08 13:34:41 +00:00
#elif defined(itanium) || defined(__itanium)
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF___INT64 8
2006-01-08 13:34:41 +00:00
#else
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF___INT64 0
2006-01-08 13:34:41 +00:00
#endif
2006-05-06 16:05:12 +00:00
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF___INT96 0
#define ASE_SIZEOF___INT128 0
2005-05-20 04:01:12 +00:00
2006-01-08 13:34:41 +00:00
#if defined(vax) || defined(__vax)
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF_VOID_P 4
2006-01-08 13:34:41 +00:00
#elif defined(alpha) || defined(__alpha)
/*#pragma pointer_size 32
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF_VOID_P 4*/
2006-01-08 13:34:41 +00:00
#pragma pointer_size 64
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF_VOID_P 8
2006-01-08 13:34:41 +00:00
#elif defined(itanium) || defined(__itanium)
/*#pragma pointer_size 32
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF_VOID_P 4*/
2006-01-08 13:34:41 +00:00
#pragma pointer_size 64
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF_VOID_P 8
2005-05-20 04:01:12 +00:00
#else
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF_VOID_P 0
2005-05-20 04:01:12 +00:00
#endif
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF_FLOAT 4
#define ASE_SIZEOF_DOUBLE 8
2006-01-08 13:34:41 +00:00
#if defined(vax) || defined(__vax)
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF_LONG_DOUBLE 8
2006-01-08 13:34:41 +00:00
#elif defined(alpha) || defined(__alpha)
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF_LONG_DOUBLE 16
2006-01-08 13:34:41 +00:00
#elif defined(itanium) || defined(__itanium)
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF_LONG_DOUBLE 16
2006-01-08 13:34:41 +00:00
#else
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF_LONG_DOUBLE 0
2006-01-08 13:34:41 +00:00
#endif
2006-05-06 16:05:12 +00:00
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF_WCHAR_T 4