These headers are uncommonly used, and from extensions, but some basic
support is needed. Macros have been added where available.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| libc/include/CMakeLists.txt | ||
|---|---|---|
| 266 | Why is this commented out? | |
remove commented out code
| libc/include/llvm-libc-macros/linux/sys-time-macros.h | ||
|---|---|---|
| 16 | struct timeval is defined in libc/include/llvm-libc-types/struct_timeval.h. | |
| libc/include/llvm-libc-macros/linux/sys-time-macros.h | ||
|---|---|---|
| 16 | Sorry, what I mean is that sys/time.h is not defining the type. So, either we remove these macros, or add the definition of struct timeval in sys/time.h (by updating the spec and .td file appropriatley.) | |
| libc/include/llvm-libc-macros/linux/sys-time-macros.h | ||
|---|---|---|
| 56 | What problem is this complication solving? | |
| libc/include/llvm-libc-macros/linux/sys-time-macros.h | ||
|---|---|---|
| 56 | I misread the man page and thought that the simpler implementation didn't work in certain circumstances. I've fixed it now. | |
Why is this commented out?