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
commit8ba78db4150d1141207a5b3d6063fa963c14abe1 (patch)
tree06ed9766aef1fcb6a42f01cc5fcb325c95bb4240
parent550ff62465cd3317ea3004deadcfcec91259f34b (diff)
downloadruby-openssl-history-8ba78db4150d1141207a5b3d6063fa963c14abe1.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
+