File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
libc/include/llvm-libc-types Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 9
9
#ifndef LLVM_LIBC_TYPES_SIZE_T_H
10
10
#define LLVM_LIBC_TYPES_SIZE_T_H
11
11
12
- // Since __need_size_t is defined, we get the definition of size_t from the
13
- // standalone C header stddef.h. Also, because __need_size_t is defined,
14
- // including stddef.h will pull only the type size_t and nothing else.
15
- #define __need_size_t
16
- #include <stddef.h>
17
- #undef __need_size_t
12
+ typedef __SIZE_TYPE__ size_t ;
18
13
19
14
#endif // LLVM_LIBC_TYPES_SIZE_T_H
Original file line number Diff line number Diff line change 9
9
#ifndef LLVM_LIBC_TYPES_SSIZE_T_H
10
10
#define LLVM_LIBC_TYPES_SSIZE_T_H
11
11
12
- typedef __INT64_TYPE__ ssize_t ;
12
+ typedef __PTRDIFF_TYPE__ ssize_t ;
13
13
14
14
#endif // LLVM_LIBC_TYPES_SSIZE_T_H
You can’t perform that action at this time.
0 commit comments