Skip to content
Permalink
Browse files
check for struct member st_birthtimespec of struct stat instead of po…
…six function birthtime
  • Loading branch information
tak1n committed May 28, 2015
1 parent 1cb8a41 commit 7843e680029166f8b25b6ea4660c3c1122c12706
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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.