*** empty log message ***
This commit is contained in:
parent
d0c9c8e099
commit
c09fffb05a
46
ase/conf_msw.h
Normal file
46
ase/conf_msw.h
Normal file
@ -0,0 +1,46 @@
|
||||
|
||||
/*
|
||||
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
|
||||
*/
|
||||
|
||||
#define XP_ENDIAN_LITTLE
|
||||
|
||||
#define XP_SIZEOF_CHAR 1
|
||||
#define XP_SIZEOF_SHORT 2
|
||||
#define XP_SIZEOF_INT 4
|
||||
|
||||
#ifdef _WIN64
|
||||
#define XP_SIZEOF_LONG 8
|
||||
#else
|
||||
#define XP_SIZEOF_LONG 4
|
||||
#endif
|
||||
|
||||
#define XP_SIZEOF_LONG_LONG 0
|
||||
|
||||
#define XP_SIZEOF___INT8 1
|
||||
#define XP_SIZEOF___INT16 2
|
||||
#define XP_SIZEOF___INT32 4
|
||||
#define XP_SIZEOF___INT64 8
|
||||
#define XP_SIZEOF___INT96 0
|
||||
#define XP_SIZEOF___INT128 0
|
||||
|
||||
#ifdef _WIN64
|
||||
#define XP_SIZEOF_VOID_P 8
|
||||
#else
|
||||
#define XP_SIZEOF_VOID_P 4
|
||||
#endif
|
||||
|
||||
#define XP_SIZEOF_FLOAT 4
|
||||
#define XP_SIZEOF_DOUBLE 8
|
||||
#define XP_SIZEOF_LONG_DOUBLE 16
|
@ -1,12 +1,12 @@
|
||||
/*
|
||||
* $Id: types.h,v 1.43 2006-04-14 14:17:09 bacon Exp $
|
||||
* $Id: types.h,v 1.44 2006-04-14 15:08:37 bacon Exp $
|
||||
*/
|
||||
|
||||
#ifndef _XP_TYPES_H_
|
||||
#define _XP_TYPES_H_
|
||||
|
||||
#if defined(_WIN32)
|
||||
#include <xp/conf_win.h>
|
||||
#include <xp/conf_msw.h>
|
||||
#elif defined(vms) || defined(__vms)
|
||||
#include <xp/conf_vms.h>
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user