configure.in: enum_over_int

* configure.in (enum_over_int): use ULLONG_MAX instead of
  ULONG_LONG_MAX for portability.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-09-13 02:02:58 +00:00
parent a995195d78
commit 39dfa2f93f

View File

@ -1778,7 +1778,7 @@ fi
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