Check for struct stat.st_ctime_nsec before using #3442

Closed
wants to merge 1 commit into
from

Projects

None yet

4 participants

@fornwall
Contributor

Using a configure check for stat.st_ctime_nsec fixes building on Android which has that field but does not define STAT_HAVE_NSEC.

Before this change the Android build failed on the st_ctim.tv_nsec fallback #else clause.

This patch is part of an effort to upstream patches used by the fish package in Termux.

@fornwall fornwall Check for struct stat.st_ctime_nsec before using
Using a configure check for stat.st_ctime_nsec fixes building on
Android which has that field but does not define STAT_HAVE_NSEC.

Before this change the Android build failed on the st_ctim.tv_nsec
fallback #else clause.
60a403b
@floam
Member
floam commented Oct 11, 2016

LGTM

@krader1961
Member

Merged as commit 36f3205.

@krader1961 krader1961 closed this Oct 11, 2016
@zanchey zanchey added this to the fish 2.4.0 milestone Oct 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment