1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/include/ruby
knu 1c0323adbc Fix build when gcc is used and the platform's libc lacks alloca().
* include/ruby/ruby.h (alloca), eval_intern.h (alloca), gc.c
  (alloca): Make alloca() globally available by moving the
  ultimate ifdef's to ruby/ruby.h.  Gcc hides its builtin alloca()
  when compiling with -ansi, and linking thus fails on platforms
  that lack their own alloca() implementation in libc, which
  include OpenBSD and some ports of NetBSD.  We use alloca()
  everywhere including from within third party C extentions, so
  alloca() must be made globally available. [Bug #7307]

* addr2line.c (alloca): Replace the alloca() part with the
  ultimate ifdef's. [Bug #7307]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-09 03:34:08 +00:00
..
backward
defines.h
encoding.h
intern.h * include/ruby/intern.h: Restore rb_enumeratorize as it was before r37497 2012-11-07 19:46:16 +00:00
io.h process.c: try conversion at redirection 2012-07-27 09:25:54 +00:00
missing.h
oniguruma.h
re.h
regex.h
ruby.h Fix build when gcc is used and the platform's libc lacks alloca(). 2012-11-09 03:34:08 +00:00
st.h
subst.h
thread.h
util.h
version.h
vm.h
win32.h win32.h: fstat on mingw32 2012-10-27 01:05:06 +00:00