aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTechnorama team <oss-ruby@technorama.net>2004-02-25 05:38:36 +0000
committerTechnorama team <oss-ruby@technorama.net>2004-02-25 05:38:36 +0000
commitf9e3b232ff9af42c9251e9d8de493b222c5b0843 (patch)
tree06ed9766aef1fcb6a42f01cc5fcb325c95bb4240
parent3b361b42d34d88fdf7d3e1f1926a514f537bdbc4 (diff)
downloadruby-openssl-history-f9e3b232ff9af42c9251e9d8de493b222c5b0843.tar.gz
fall back to rb_f_lambda if rb_block_proc not available
-rw-r--r--ruby_missing.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ruby_missing.h b/ruby_missing.h
index 5c86a66..8b59b49 100644
--- a/ruby_missing.h
+++ b/ruby_missing.h
@@ -89,3 +89,7 @@
#endif /* _OSS_RUBY_MISSING_H_ */
+#if !HAVE_RB_BLOCK_PROC
+# define rb_block_proc rb_f_lambda
+#endif
+