summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@github.com>2016-02-25 11:23:19 -0500
committerEdward Thomson <ethomson@github.com>2016-02-25 11:40:48 -0500
commit3d6a42d1e14281c564d779e7490d761555d014d4 (patch)
tree78c9d746d024cb13afe04283ec8d8564f6275cba /include/git2/commit.h
parenta4c55069e3481fda0ab6abe82f0c63672eb8b3e9 (diff)
downloadlibgit2-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