Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7843e68

Browse files
committedMay 28, 2015
check for struct member st_birthtimespec of struct stat instead of posix function birthtime
1 parent 1cb8a41 commit 7843e68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎configure

+1-1
Original file line numberDiff line numberDiff line change
@@ -1230,7 +1230,7 @@ int main() { return tgetnum(""); }
12301230
@defines << "HAVE_GETTID"
12311231
end
12321232

1233-
if has_function("birthtime", ["sys/stat.h"])
1233+
if has_struct_member("stat", "st_birthtimespec", ["sys/stat.h"])
12341234
@defines << "HAVE_ST_BIRTHTIME"
12351235
end
12361236

0 commit comments

Comments
 (0)
Please sign in to comment.