aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts/alphaosf.h
blob: 0d2c2d344cc8ad2d6cbebeaa7c0f38944dbd37db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include <stddef.h>
#include <fcntl.h>
#include <errno.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <ctype.h>
#include <string.h>
#include <sys/file.h>
#include <alloca.h>
#include <stdlib.h>

/* Make the basic types 64-bit quantities on the host */
#define	HOST_64_BIT	long 

typedef unsigned  long uint64e_type;
typedef unsigned  long uint64_type;
typedef  long int64_type;

#define BYTES_IN_PRINTF_INT 4

/* These must have type unsigned long because they are used as
   arguments in printf functions.  */
#define uint64_typeLOW(x) ((unsigned long) (((x) & 0xffffffff)))
#define uint64_typeHIGH(x) ((unsigned long) (((x) >> 32) & 0xffffffff))

#include "fopen-same.h"