mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in (RUBY_REPLACE_TYPE): define typename to default
type if the latter is found. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9ad26a3d24
commit
8e295d4c17
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Sep 11 14:17:32 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in (RUBY_REPLACE_TYPE): define typename to defaul
|
||||
type if the latter is found.
|
||||
|
||||
Fri Sep 11 13:57:36 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* include/ruby/win32.h (fstat): override if large file support is
|
||||
|
|
|
@ -524,7 +524,8 @@ AC_DEFUN([RUBY_REPLACE_TYPE], [dnl
|
|||
t=INT;;
|
||||
esac
|
||||
rb_cv_[$1]_convertible=${u}${t}])
|
||||
m4_ifval([$2], AC_DEFINE_UNQUOTED(rb_[$1], $n))
|
||||
test "${AS_TR_SH(ac_cv_type_[$1])}" = "yes" && n="$1"
|
||||
AC_DEFINE_UNQUOTED(rb_[$1], $n)
|
||||
AC_DEFINE_UNQUOTED([$3]2NUM[(v)], [${rb_cv_[$1]_convertible}2NUM(v)])
|
||||
AC_DEFINE_UNQUOTED(NUM2[$3][(v)], [NUM2${rb_cv_[$1]_convertible}(v)])
|
||||
AC_DEFINE_UNQUOTED(PRI_[$3]_PREFIX,
|
||||
|
|
Loading…
Reference in a new issue