qse/ase/conf_msw.h

65 lines
1.3 KiB
C
Raw Normal View History

2006-04-30 17:35:37 +00:00
/*
2007-02-03 10:52:36 +00:00
* $Id: conf_msw.h,v 1.7 2007-02-03 10:52:35 bacon Exp $
*
* {License}
2006-04-30 17:35:37 +00:00
*/
2006-04-14 15:08:37 +00:00
/*
Macro Meaning
_WIN64 A 64-bit platform.
_WIN32 A 32-bit platform. This value is also defined by the 64-bit
compiler for backward compatibility.
_WIN16 A 16-bit platform
The following macros are specific to the architecture.
Macro Meaning
_M_IA64 Intel Itanium Processor Family
_M_IX86 x86 platform
_M_X64 x64 platform
*/
2006-10-24 04:31:07 +00:00
#define ASE_ENDIAN_LITTLE
2006-04-14 15:08:37 +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
2006-04-14 15:08:37 +00:00
#ifdef _WIN64
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF_LONG 8
2006-04-14 15:08:37 +00:00
#else
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF_LONG 4
2006-04-14 15:08:37 +00:00
#endif
2006-11-19 06:15:58 +00:00
#ifdef __POCC__
/* pelles c with no microsoft extension */
#define ASE_SIZEOF_LONG_LONG 8
2006-04-14 15:08:37 +00:00
2006-11-19 06:15:58 +00:00
#define ASE_SIZEOF___INT8 0
#define ASE_SIZEOF___INT16 0
#define ASE_SIZEOF___INT32 0
#define ASE_SIZEOF___INT64 0
#define ASE_SIZEOF___INT96 0
#define ASE_SIZEOF___INT128 0
#else
#define ASE_SIZEOF_LONG_LONG 0
#define ASE_SIZEOF___INT8 1
#define ASE_SIZEOF___INT16 2
#define ASE_SIZEOF___INT32 4
#define ASE_SIZEOF___INT64 8
#define ASE_SIZEOF___INT96 0
#define ASE_SIZEOF___INT128 0
#endif
2006-04-14 15:08:37 +00:00
#ifdef _WIN64
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF_VOID_P 8
2006-04-14 15:08:37 +00:00
#else
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF_VOID_P 4
2006-04-14 15:08:37 +00:00
#endif
2006-10-24 04:31:07 +00:00
#define ASE_SIZEOF_FLOAT 4
#define ASE_SIZEOF_DOUBLE 8
#define ASE_SIZEOF_LONG_DOUBLE 16
#define ASE_SIZEOF_WCHAR_T 2