summaryrefslogtreecommitdiff
path: root/src/win32/win32-compat.h
Commit message (Collapse)AuthorAgeFilesLines
* nsec: support NDK's crazy nanosecondsEdward Thomson2016-02-251-0/+3
| | | | | | | | Android NDK does not have a `struct timespec` in its `struct stat` for nanosecond support, instead it has a single nanosecond member inside the struct stat itself. We will use that and use a macro to expand to the `st_mtim` / `st_mtimespec` definition on other systems (much like the existing `st_mtime` backcompat definition).
* win32: introduce p_timeval that isn't stupidEdward Thomson2016-02-121-0/+7
| | | | | Windows defines `timeval` with `long`, which we cannot sanely cope with. Instead, use a custom timeval struct.
* Make stat.st_size a __int64 not a uint64_tJacques Germishuys2015-11-211-1/+1
|
* win32: define our own POSIX struct stat, and support USE_NSECAxel Rasmussen2015-09-181-0/+42