summaryrefslogtreecommitdiff
path: root/ext/objspace/extconf.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-09 06:16:58 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-09 06:16:58 +0000
commit671707b5460e4fef2d2a9dd5832fb5a50e5c9178 (patch)
treef67ede8323ff7ef0ad682fe6f65220c5a3fee310 /ext/objspace/extconf.rb
parent90feeb6ab9c9f02a174ac27a5c3bcee6f23aa463 (diff)
objspace_dump.c: fix portability issue
* ext/objspace/objspace_dump.c (dump_output): fix portability issue. mkstemp() may not be available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/objspace/extconf.rb')
-rw-r--r--ext/objspace/extconf.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/objspace/extconf.rb b/ext/objspace/extconf.rb
index 23a42c4c20f..e48fa8c8bcd 100644
--- a/ext/objspace/extconf.rb
+++ b/ext/objspace/extconf.rb
@@ -1,2 +1,3 @@
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
+have_func("mkstemp")
create_makefile('objspace')