diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2016-10-22 19:47:55 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2016-10-22 19:47:55 -0400 |
commit | dd3c2a552725362cc03d7f7f631a0c24618cf4d2 (patch) | |
tree | 95f119043f0d6b089ced6c69931c5bbf9ac8469d /bfs.h | |
parent | b0216b9154915a60e981a0082d77930687475d54 (diff) | |
download | bfs-dd3c2a552725362cc03d7f7f631a0c24618cf4d2.tar.xz |
Account for non-standard struct stat on macOS.
Diffstat (limited to 'bfs.h')
-rw-r--r-- | bfs.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -27,6 +27,13 @@ # define BFS_HOMEPAGE "https://github.com/tavianator/bfs" #endif +// Some portability concerns +#if __APPLE__ +# define st_atim st_atimespec +# define st_ctim st_ctimespec +# define st_mtim st_mtimespec +#endif + /** * A command line expression. */ |