Commit | Line | Data |
---|---|---|
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 SC |
12 | |
13 | /* Make the basic types 64-bit quantities on the host */ | |
14 | #define HOST_64_BIT long | |
5f8f6d56 | 15 | |
5f8f6d56 | 16 | typedef unsigned long uint64e_type; |
5f8f6d56 SC |
17 | typedef unsigned long uint64_type; |
18 | typedef long int64_type; | |
19 | ||
5f8f6d56 SC |
20 | #define BYTES_IN_PRINTF_INT 4 |
21 | ||
ef323d70 SC |
22 | #define uint64_typeLOW(x) (((x) & 0xffffffff)) |
23 | #define uint64_typeHIGH(x) (((x) >> 32) & 0xffffffff) | |
c5652bff | 24 | |
5f8f6d56 | 25 | #include "fopen-same.h" |