jsource icon indicating copy to clipboard operation
jsource copied to clipboard

Remove or replace non-portable headers

Open hermabe opened this issue 4 years ago • 1 comments

These are the headers I could find:

Header About Used in
dirent.h POSIX header, directories xd.c
dlfcn.h POSIX header, dynamic linking jconsole.c, jeload.cpp, jfex.c, x15.c, xf.c
fcntl.h POSIX header, file control xf.c
fts.h GNUlib header, file hierarchy traversal xf.c
mach-o/dyld.h Mac dynamic library jeload.cpp
spawn.h POSIX header (ADVANCED REALTIME) xh.c
sys/mman.h POSIX header, memory management io.c
sys/resource.h POSIX header, XSI resource operations jconsole.c
sys/stat.h POSIX header, file attributes xd.c, xf.c
sys/time.h POSIX header, time types xt.c
sys/types.h POSIX header, data types xf.c
sys/utsname.h POSIX header, name and info about kernel jeload.cpp
sys/wait.h POSIX header, waiting xh.c
unistd.h POSIX header, standard symbolic constants and types io.c, jconsole.c, xd.c, xf.c, xh.c, xl.c, xt.c

Most of these are used in either foreigns or dynamic library loading

hermabe avatar Feb 09 '21 15:02 hermabe

I think some of this should happen overtime when we replace code with things from the c++ standard library. Though it's nice to know about these things. :)

Sebanisu avatar Feb 10 '21 01:02 Sebanisu