mirror of
https://github.com/vivier/EMILE.git
synced 2025-08-15 07:27:41 +00:00
64bit support for tools
This commit is contained in:
@@ -8,12 +8,12 @@
|
|||||||
|
|
||||||
struct MachineLocation
|
struct MachineLocation
|
||||||
{
|
{
|
||||||
long latitude;
|
int32_t latitude;
|
||||||
long longitude;
|
int32_t longitude;
|
||||||
union
|
union
|
||||||
{
|
{
|
||||||
char dlsDelta;
|
int8_t dlsDelta;
|
||||||
long gmtDelta;
|
int32_t gmtDelta;
|
||||||
} u;
|
} u;
|
||||||
};
|
};
|
||||||
typedef struct MachineLocation MachineLocation;
|
typedef struct MachineLocation MachineLocation;
|
||||||
@@ -30,23 +30,23 @@ enum {
|
|||||||
typedef struct ParamBlockRec ParamBlockRec_t;
|
typedef struct ParamBlockRec ParamBlockRec_t;
|
||||||
|
|
||||||
struct ParamBlockRec {
|
struct ParamBlockRec {
|
||||||
unsigned long qLink; /* next queue entry */
|
u_int32_t qLink; /* next queue entry */
|
||||||
unsigned short qType; /* queue type */
|
u_int16_t qType; /* queue type */
|
||||||
unsigned short ioTrap; /* routine trap */
|
u_int16_t ioTrap; /* routine trap */
|
||||||
unsigned long ioCmdAddr; /* routine address */
|
u_int32_t ioCmdAddr; /* routine address */
|
||||||
unsigned long ioCompletion; /* pointer to completion routine */
|
u_int32_t ioCompletion; /* pointer to completion routine */
|
||||||
unsigned short ioResult; /* result code */
|
u_int16_t ioResult; /* result code */
|
||||||
unsigned long ioNamePtr; /* pointer to pathname */
|
u_int32_t ioNamePtr; /* pointer to pathname */
|
||||||
signed short ioVRefNum; /* volume specification */
|
int16_t ioVRefNum; /* volume specification */
|
||||||
signed short ioRefNum; /* file reference number */
|
int16_t ioRefNum; /* file reference number */
|
||||||
signed char ioVersNum; /* version number */
|
int8_t ioVersNum; /* version number */
|
||||||
signed char ioPermssn; /* read/write permission */
|
int8_t ioPermssn; /* read/write permission */
|
||||||
unsigned long ioMisc; /* miscellaneaous */
|
u_int32_t ioMisc; /* miscellaneaous */
|
||||||
unsigned long ioBuffer; /* data buffer */
|
u_int32_t ioBuffer; /* data buffer */
|
||||||
unsigned long ioReqCount; /* requested number of bytes */
|
u_int32_t ioReqCount; /* requested number of bytes */
|
||||||
unsigned long ioActCount; /* actual number of bytes */
|
u_int32_t ioActCount; /* actual number of bytes */
|
||||||
unsigned short ioPosMode; /* positioning mode and newline char */
|
u_int16_t ioPosMode; /* positioning mode and newline char */
|
||||||
signed long ioPosOffset; /* positionning offset */
|
int32_t ioPosOffset; /* positionning offset */
|
||||||
} __attribute__((packed));
|
} __attribute__((packed));
|
||||||
|
|
||||||
#define ASSERT_PBR(a) if ( sizeof(ParamBlockRec_t) != 50 ) { a }
|
#define ASSERT_PBR(a) if ( sizeof(ParamBlockRec_t) != 50 ) { a }
|
||||||
|
Reference in New Issue
Block a user