Commit Graph

79 Commits (master)

Author SHA1 Message Date
nick black ecf24256a1 include winsock2.h before windows.h 3 years ago
nick black 9779dd9fef windows: don't try and use getpwuid() 3 years ago
nick black 01a2dd048e more windows headers 3 years ago
nick black 9d89df85fa compat.h: necessary headers 3 years ago
nick black 78382087f0 mock pid_t for windows 3 years ago
nick black 4c7dc8b327 fake up waitpid() for windows 3 years ago
nick black 4507f0f8e3 expose more of fd.c to windows 3 years ago
nick black 1b1411cae6 restrict sigaction()s to windows 3 years ago
nick black 6154fbcb56 windows: shim sigset_t 3 years ago
nick black 19797b3859 everybody's movin', everybody's groovin', baby #1977 3 years ago
nick black 1113f7dd35
windows: patch out more constants 3 years ago
nick black 03fbf57f24
fix up windows strndup compilation 3 years ago
nick black b867935708
termdesc: wrap linux-only parts up for linux 3 years ago
nick black 3172f4712a
s/SA_SIGNINFO/SA_SIGINFO/g =[ 3 years ago
nick black 3d3561fe0e
windows: elide still more signal jank 3 years ago
nick black fd13b70d27
windows: no sys/ioctl.h, move to compat.h 3 years ago
nick black 8332ff060c
windows: no langinfo.h 3 years ago
nick black c733293421
[rage at sky] 3 years ago
nick black 8df13818de
windows: stub out siginfo_t 3 years ago
nick black 15c3d88ddb
windows: more signal/termios mitigation #463 3 years ago
nick black d90736f84f
define O_CLOEXEC as O_NOINHERIT on windows 3 years ago
nick black d3d0838c07
windows hates all of fd.c 3 years ago
nick black ff2ef8571d
windows: no sys/wait.h, weird printf specifiers 3 years ago
nick black dae8e340d2
still more windows garbage 3 years ago
nick black 5015e39f16 only need TIMER_ABSTIME on apple 3 years ago
nick black 33752742d1 byteswap on OS X #195 3 years ago
nick black fb85bb9a53
magical incantation to not stomp DragonFly's clock_nanosleep #1121 3 years ago
nick black d4aef247ea
Fixes for DragonFly BSD from Weitian LI #1121 4 years ago
nick black 8283adc28f
Introduce src/compat/ for all bins
I've created the new files src/compat/compat.{hc}. These
are available to all binaries by adding src to the include
directories, and src/compat/compat.c to the sources. Several
functions are implemented here which one or more target
operating systems are missing, right now all related to time.
This includes clock_nanosleep(), which is missing on OS X and
DragonFly BSD. Eliminate the other three definitions of
timespec_to_ns() and friends. Standardize on NANOSECS_IN_SEC
rather than the more opaque GIG. Progress on #1121.
4 years ago