summaryrefslogtreecommitdiff
path: root/os/windows/posix/include/sys
AgeCommit message (Collapse)Author
2018-03-21Use POSIX path for poll.h and fcntl.h headersSitsofe Wheeler
musl complains when using include paths like <sys/poll.h> rather than POSIX's <poll.h> so change the poll.h include path and update the windows poll.h compatibility shim to match. Allegedly sys/poll.h was needed for GLIBCs that were older than 2.3 according to https://www.winehq.org/pipermail/wine-patches/2014-June/132877.html but I can still see that path in an ancient Red Hat 5.0 glibc-devel-2.0.7-32.i386.rpm ... Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com>
2015-05-07Add Windows ctime_r implementation and add empty ioctl.h headerBruce Cran
stat.c now uses ctime_r(), so add an implementation for Windows. It's expected that ioctl.h exists on each platform, even if it's not used: add an empty file on Windows. Signed-off-by: Jens Axboe <axboe@fb.com>
2014-04-14Windows: set sizeof(sun_path) to 260 (MAX_PATH).Bruce Cran
Signed-off-by: Jens Axboe <axboe@fb.com>
2013-11-01Implement writev on WindowsBruce Cran
The network code depends on writev(), so implement it for Windows. Signed-off-by: Jens Axboe <axboe@kernel.dk>
2013-02-21Update all Windows files except dobuild.cmd to use LF line endingsBruce Cran
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2013-01-24Use RUSAGE_THREAD, if availableHuadong Liu
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2012-12-19Consistently indent using tabs in Windows files and remove trailing spaces.Bruce Cran
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2012-02-20Fix tabbing and comment characters in Windows code.Bruce Cran
Update syslog.h with proper flag values. Signed-off-by: Jens Axboe <axboe@kernel.dk>
2012-02-20Move Windows port to MinGWBruce Cran
- Add calls to WSAStartup in the network code as required by Winsock. - Add Windows-specific init_random_state function which uses the Crypto API. - Move Windows port to MinGW and update build system to create a 64-bit binary by default. - Install text files as .rtf so they won't open in Notepad by default (Wordpad understands Unix line endings; Notepad doesn't). - Simplify WiX installer code. Signed-off-by: Jens Axboe <axboe@kernel.dk>