Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
check for struct member st_birthtimespec of struct stat instead of po…
Browse files Browse the repository at this point in the history
…six function birthtime
tak1n committed May 28, 2015

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 1cb8a41 commit 7843e68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
@@ -1230,7 +1230,7 @@ int main() { return tgetnum(""); }
@defines << "HAVE_GETTID"
end

if has_function("birthtime", ["sys/stat.h"])
if has_struct_member("stat", "st_birthtimespec", ["sys/stat.h"])
@defines << "HAVE_ST_BIRTHTIME"
end

0 comments on commit 7843e68

Please sign in to comment.