open-watcom / open-watcom-v2

Open Watcom V2.0 - Source code repository, Wiki, Latest Binary build, Archived builds including all installers for download.
Other
989 stars 162 forks source link

hdr: Add sys/select.h posix header #1275

Closed winspool closed 6 months ago

winspool commented 6 months ago

Detected, when i tried to compile TinyEMU with OpenWatcom.

In early posix versions, these declarations / defines / macros where in sys/time.h, but since some posix revisions, they belong to sys/select.h.

https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_select.h.html

I tested it on linux, but i can`t test RDOS

-- Regards ... Detlef

jmalak commented 6 months ago

I have a few notes:

jmalak commented 6 months ago

I added fdset.sp and select.sp include files (now used in sys/time.h) holding shared definition that only sys/select.h must be implemented

winspool commented 6 months ago

Updated patch on top of the latest changes in the master tree

winspool commented 6 months ago

Thanks for your adjustments.