Skip to content

Commit

Permalink
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
  • Loading branch information
tak1n committed May 28, 2015
1 parent 1cb8a41 commit 7843e68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure
Expand Up @@ -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

Expand Down

0 comments on commit 7843e68

Please sign in to comment.