diff options
author | Edward Thomson <ethomson@github.com> | 2016-02-25 11:23:19 -0500 |
---|---|---|
committer | Edward Thomson <ethomson@github.com> | 2016-02-25 11:40:48 -0500 |
commit | 3d6a42d1e14281c564d779e7490d761555d014d4 (patch) | |
tree | 78c9d746d024cb13afe04283ec8d8564f6275cba /include/git2/commit.h | |
parent | a4c55069e3481fda0ab6abe82f0c63672eb8b3e9 (diff) | |
download | libgit2-3d6a42d1e14281c564d779e7490d761555d014d4.tar.gz |
nsec: support NDK's crazy nanoseconds
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).
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions