19 Dec
2017
19 Dec
'17
4:54 p.m.
Steven Watanabe wrote:
It's probably this:
https://github.com/boostorg/build/commit/0c6d0165b096b9e026c933194eff4e12468...
Does anyone know the correct way to detect whether struct stat has st_mtim (or does it have a different name on OSX?).
Judging by https://github.com/tavianator/bfs/issues/12 https://github.com/tavianator/bfs/pull/13 the field is `struct timespec st_mtimespec;` on MacOS, although the code works on xcode 8.3/9/9.1: https://travis-ci.org/boostorg/config/builds/318188812 so it's not clear whether the field is renamed there, or there's a macro st_mtim. In either case the various xcodes should probably be added to Build's .travis.