f4d95ce4 | 14-Jun-2020 |
oddcoder <ahmedsoliman@oddcoder.com> |
Add sys/select.h to sys/types.h
This was triggered by gcc for some reason It included sys/types.h and assumed sys/select.h to be there. And that seams to be the case in musl.
The problem with relib
Add sys/select.h to sys/types.h
This was triggered by gcc for some reason It included sys/types.h and assumed sys/select.h to be there. And that seams to be the case in musl.
The problem with relibc here is that sys/types.h is are part of relibc "include/*.h" files, while sys/select.h is generated by cbindgen. That makes it impossible to #include select.h in types.h epsecially that there are files like fcntl.c that uses types.h. They would complain about missing headers. I fixed this by renaming sys/types.h to sys/types_internal.h and then generating types.h using cbindgen as well except for that. however fcntl and dlmalloc can include types_internal instead of types.h
show more ...
|
3ac6ef18 | 01-Mar-2020 |
oddcoder <ahmedsoliman@oddcoder.com> |
Adjust stddef.h to be compatiable with other libc(s)
I faced many issues when compiling libstdC++-V3 and linking against relibc mainly: - Missing types (max_align_t) - Different types definitions(pt
Adjust stddef.h to be compatiable with other libc(s)
I faced many issues when compiling libstdC++-V3 and linking against relibc mainly: - Missing types (max_align_t) - Different types definitions(ptrdiff_t , size_t) - and the fact that wchar_t is part of standard C++ and it seams that we canno redefine standard types
show more ...
|