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 99#ifndef LLVM_LIBC_TYPES_SIZE_T_H
1010#define LLVM_LIBC_TYPES_SIZE_T_H
1111
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 ;
1813
1914#endif // LLVM_LIBC_TYPES_SIZE_T_H
Original file line number Diff line number Diff line change 99#ifndef LLVM_LIBC_TYPES_SSIZE_T_H
1010#define LLVM_LIBC_TYPES_SSIZE_T_H
1111
12- typedef __INT64_TYPE__ ssize_t ;
12+ typedef __PTRDIFF_TYPE__ ssize_t ;
1313
1414#endif // LLVM_LIBC_TYPES_SSIZE_T_H
You can’t perform that action at this time.
0 commit comments