From a7a1968ad134ce8565dbe81c8e762de7f4fc2c15 Mon Sep 17 00:00:00 2001 From: kazu Date: Mon, 11 May 2009 11:11:11 +0000 Subject: * io.c (Init_IO): add constant File::NOATIME. [ruby-core:23194] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'io.c') diff --git a/io.c b/io.c index 72bb5b77c7..92dc006e33 100644 --- a/io.c +++ b/io.c @@ -8953,6 +8953,9 @@ Init_IO(void) #ifdef O_NOFOLLOW rb_file_const("NOFOLLOW", INT2FIX(O_NOFOLLOW)); /* FreeBSD, Linux */ #endif +#ifdef O_NOATIME + rb_file_const("NOATIME", INT2FIX(O_NOATIME)); /* Linux */ +#endif sym_mode = ID2SYM(rb_intern("mode")); sym_perm = ID2SYM(rb_intern("perm")); -- cgit v1.2.3