Commit | Line | Data |
---|---|---|
5f8f6d56 SC |
1 | #include <fcntl.h> |
2 | #include <errno.h> | |
3 | #include <stdio.h> | |
4 | #include <sys/types.h> | |
5 | #include <sys/stat.h> | |
6 | #include <ctype.h> | |
7 | #include <string.h> | |
8 | #include <sys/file.h> | |
9 | #include <alloca.h> | |
0cd22b6a | 10 | #include <stdlib.h> |
5f8f6d56 SC |
11 | |
12 | /* Make the basic types 64-bit quantities on the host */ | |
13 | #define HOST_64_BIT long | |
5f8f6d56 | 14 | |
5f8f6d56 | 15 | typedef unsigned long uint64e_type; |
5f8f6d56 SC |
16 | typedef unsigned long uint64_type; |
17 | typedef long int64_type; | |
18 | ||
5f8f6d56 SC |
19 | #define BYTES_IN_PRINTF_INT 4 |
20 | ||
21 | #define uint64_typeLOW(x) (uint32_type)(((x) & 0xffffffff)) | |
22 | #define uint64_typeHIGH(x) (uint32_type)(((x) >> 32) & 0xffffffff) | |
23 | #include "fopen-same.h" |