* srconv.c (wr_tr): Write out handcrafted tr block.
[deliverable/binutils-gdb.git] / bfd / hosts / alphaosf.h
CommitLineData
c5652bff 1#include <stddef.h>
5f8f6d56
SC
2#include <fcntl.h>
3#include <errno.h>
4#include <stdio.h>
5#include <sys/types.h>
6#include <sys/stat.h>
7#include <ctype.h>
8#include <string.h>
9#include <sys/file.h>
10#include <alloca.h>
0cd22b6a 11#include <stdlib.h>
5f8f6d56 12
5802eb8f
KR
13/* Make the basic types 64-bit quantities on the host.
14 Also provide the support macros BFD needs. */
96ad107b
JK
15#define BFD_HOST_64_BIT long
16#define sprintf_vma(s,x) sprintf (s, "%016lx", x) /* BFD_HOST_64_BIT */
17#define fprintf_vma(f,x) fprintf (f, "%016lx", x) /* BFD_HOST_64_BIT */
5f8f6d56 18
5f8f6d56
SC
19#define BYTES_IN_PRINTF_INT 4
20
e92512bb
ILT
21/* These must have type unsigned long because they are used as
22 arguments in printf functions. */
96ad107b
JK
23#define uint64_typeLOW(x) ((unsigned long) (((x) & 0xffffffff))) /* BFD_HOST_64_BIT */
24#define uint64_typeHIGH(x) ((unsigned long) (((x) >> 32) & 0xffffffff)) /* BFD_HOST_64_BIT */
c5652bff 25
5f8f6d56 26#include "fopen-same.h"
This page took 0.095986 seconds and 4 git commands to generate.