1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Try statx syscall

* file.c (rb_file_s_birthtime): export for pathname to check if
  birthtime is supported.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2019-02-20 06:54:23 +00:00
parent d034fcb13f
commit 15a98ab428
5 changed files with 51 additions and 12 deletions

View file

@ -1,4 +1,4 @@
# frozen_string_literal: false
require 'mkmf'
have_struct_member("struct stat", "st_birthtimespec", "sys/stat.h")
have_func("rb_file_s_birthtime")
create_makefile('pathname')