diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-20 06:54:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-20 06:54:23 +0000 |
commit | 15a98ab42838be248a5b59ca342033ee338357ad (patch) | |
tree | 54d37b82280acbc3dc0dc10017b7470a77135c23 /ext/pathname/extconf.rb | |
parent | d034fcb13f04b096f99d1824d5e7dd8ed256713e (diff) |
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
Diffstat (limited to 'ext/pathname/extconf.rb')
-rw-r--r-- | ext/pathname/extconf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pathname/extconf.rb b/ext/pathname/extconf.rb index c9133bc153..84e68277aa 100644 --- a/ext/pathname/extconf.rb +++ b/ext/pathname/extconf.rb @@ -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') |