summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-28 03:39:18 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-28 03:39:18 +0000
commit2b92335efd4c561ad7a9ad25367838857602e067 (patch)
tree61258558bbf11bffedc007fe6b0175b64fb571b3
parent693f56bb01ef201bbad211a8a8d52b2ef20cecbf (diff)
file.c: unnecessary #undef
* file.c (flock): remove unnecessary #undef flock, trace of green thread polling. patched by Rohan Garg. [Bug #10551] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--file.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/file.c b/file.c
index d47db558f4..803ca30e76 100644
--- a/file.c
+++ b/file.c
@@ -4551,7 +4551,6 @@ rb_file_flock(VALUE obj, VALUE operation)
}
return INT2FIX(0);
}
-#undef flock
static void
test_check(int n, int argc, VALUE *argv)