1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* configure.in (RUBY_REPLACE_TYPE): defines type modifier prefix

for printf.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-04-07 04:10:21 +00:00
parent 04d1fc84b4
commit 4b4dc16feb
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Tue Apr 7 13:10:19 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (RUBY_REPLACE_TYPE): defines type modifier prefix
for printf.
Tue Apr 7 02:27:49 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (RUBY_DEFINT): should pass includes to

View file

@ -505,6 +505,8 @@ AC_DEFUN([RUBY_REPLACE_TYPE], [dnl
m4_ifval([$2], 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,
["`echo ${rb_cv_[$1]_convertible} | sed ['s/^U//;s/[^L].*//;y/L/l/']`"])
])
RUBY_REPLACE_TYPE(pid_t, int, PIDT)
RUBY_REPLACE_TYPE(uid_t, int, UIDT)