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:
parent
a995195d78
commit
39dfa2f93f
@ -1778,7 +1778,7 @@ fi
|
|||||||
AC_CACHE_CHECK(if enum over int is allowed, rb_cv_enum_over_int, [
|
AC_CACHE_CHECK(if enum over int is allowed, rb_cv_enum_over_int, [
|
||||||
rb_cv_enum_over_int=no
|
rb_cv_enum_over_int=no
|
||||||
if test "x$ac_cv_type_long_long" = xyes; then
|
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
|
else
|
||||||
type="unsigned long" max="ULONG_MAX"
|
type="unsigned long" max="ULONG_MAX"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user