mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in: check for ssize_t. [ruby-dev:34184]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
839dc7f9ab
commit
9a421e5b7e
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon Mar 31 18:42:41 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in: check for ssize_t. [ruby-dev:34184]
|
||||
|
||||
Mon Mar 31 04:05:15 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* io.c (io_getc): set coderange while getting characters.
|
||||
|
|
|
@ -613,6 +613,7 @@ AC_CHECK_SIZEOF(rlim_t, 0, [
|
|||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_TYPE_SIZE_T
|
||||
AC_CHECK_SIZEOF(size_t, 0)
|
||||
AC_STRUCT_ST_BLKSIZE
|
||||
AC_STRUCT_ST_BLOCKS
|
||||
AC_STRUCT_ST_RDEV
|
||||
|
@ -630,7 +631,7 @@ AC_CHECK_TYPES(struct timespec)
|
|||
|
||||
AC_CHECK_TYPE(fd_mask, [AC_DEFINE(HAVE_RB_FD_INIT, 1)])
|
||||
|
||||
dnl RUBY_DEFINT [typename] [size] [signed]
|
||||
dnl RUBY_DEFINT TYPENAME, SIZE, [SIGNED-OR-UNSIGNED], [INCLUDES = DEFAULT-INCLUDES]
|
||||
AC_DEFUN([RUBY_DEFINT], [dnl
|
||||
AC_CACHE_CHECK([for $1], [rb_cv_type_$1],
|
||||
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT([$4])
|
||||
|
@ -663,6 +664,7 @@ RUBY_DEFINT(int128_t, 16)
|
|||
RUBY_DEFINT(uint128_t, 16, unsigned)
|
||||
RUBY_DEFINT(intptr_t, void*)
|
||||
RUBY_DEFINT(uintptr_t, void*, unsigned)
|
||||
RUBY_DEFINT(ssize_t, size_t) dnl may differ from int, so not use AC_TYPE_SSIZE_T.
|
||||
|
||||
AC_CACHE_CHECK(for stack end address, rb_cv_stack_end_address,
|
||||
[rb_cv_stack_end_address=no
|
||||
|
|
Loading…
Reference in a new issue