diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-02 02:43:10 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-02 02:43:10 +0000 |
commit | f2c8ac3f1a68f75e0f43a4ab390ec1a0414bba7d (patch) | |
tree | 55a57cc98edf51214c52caf203ee9a3d19d0f293 | |
parent | 07c87adf83cdfc6a44b139c59a4097a3a916da6d (diff) |
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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Mon Mar 2 11:43:07 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * configure.in (RUBY_REPLACE_TYPE): restore unsigned type from + cached variable. + Mon Mar 2 06:01:41 2015 Eric Wong <e@80x24.org> * 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)]) |