From f2c8ac3f1a68f75e0f43a4ab390ec1a0414bba7d Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 2 Mar 2015 02:43:10 +0000 Subject: [PATCH] configure.in: restore unsignedness * configure.in (RUBY_REPLACE_TYPE): restore unsigned type from cached variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ configure.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 93489be61e..002f96bfce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Mar 2 11:43:07 2015 Nobuyoshi Nakada + + * configure.in (RUBY_REPLACE_TYPE): restore unsigned type from + cached variable. + Mon Mar 2 06:01:41 2015 Eric Wong * ext/io/wait/wait.c (io_nread): wrap return value with INT2FIX diff --git a/configure.in b/configure.in index 365538c2ae..3ae38da6e0 100644 --- a/configure.in +++ b/configure.in @@ -1479,7 +1479,7 @@ AC_DEFUN([RUBY_REPLACE_TYPE], [dnl [*LL], [n="long long"], [*LONG], [n="long"], [n="int"]) - AS_CASE("${rb_cv_[$1]_convertible}", [U*], [u=+1], [u=-1]) + AS_CASE("${rb_cv_[$1]_convertible}", [U*], [u=+1 n="unsigned $n"], [u=-1]) AC_DEFINE_UNQUOTED(rb_[$1], $n) AC_DEFINE_UNQUOTED([SIGNEDNESS_OF_]AS_TR_CPP($1), $u) AC_DEFINE_UNQUOTED([$3]2NUM[(v)], [${rb_cv_[$1]_convertible}2NUM(v)])