ruby-changes:39769
From: nobu <ko1@a...>
Date: Sun, 13 Sep 2015 11:03:05 +0900 (JST)
Subject: [ruby-changes:39769] nobu:r51850 (trunk): configure.in: enum_over_int
nobu 2015-09-13 11:02:58 +0900 (Sun, 13 Sep 2015) New Revision: 51850 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51850 Log: configure.in: enum_over_int * configure.in (enum_over_int): use ULLONG_MAX instead of ULONG_LONG_MAX for portability. Modified files: trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 51849) +++ configure.in (revision 51850) @@ -1778,7 +1778,7 @@ fi https://github.com/ruby/ruby/blob/trunk/configure.in#L1778 AC_CACHE_CHECK(if enum over int is allowed, rb_cv_enum_over_int, [ rb_cv_enum_over_int=no if test "x$ac_cv_type_long_long" = xyes; then - type="unsigned long long" max="ULONG_LONG_MAX" + type="unsigned long long" max="ULLONG_MAX" else type="unsigned long" max="ULONG_MAX" fi -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/