Merge branch 'threads-features' into 'master'
Fix threads includes and gnu-binutils compilation See merge request redox-os/relibc!1324
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# stdint.h needed for uint64_t due to rlim_t and constants u64
|
||||
# TODO POSIX says rlim_t can be unsigned int but including stdint.h is considered namespace pollution
|
||||
# sys/time.h brings in sys/select.h which brings in bits/timeval.h
|
||||
sys_includes = ["sys/time.h"]
|
||||
sys_includes = ["stdint.h", "sys/time.h"]
|
||||
after_includes = """
|
||||
#include <bits/id-t.h> // for id_t from sys/types.h
|
||||
"""
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
sys_includes = []
|
||||
# time.h brings in features.h
|
||||
# features.h required for Rust never type (no return)
|
||||
sys_includes = ["time.h"]
|
||||
include_guard = "_RELIBC_THREADS_H"
|
||||
language = "C"
|
||||
style = "tag"
|
||||
|
||||
Reference in New Issue
Block a user